定制 astraphp/phpmvc 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

astraphp/phpmvc

最新稳定版本:v1.0.0

Composer 安装命令:

composer require astraphp/phpmvc

包简介

README 文档

README

Certainly! Here is the updated documentation for the Astraphpmvc framework, including features for updating and deleting users:

Welcome to the Astraphpmvc Framework!

This project is designed for educational purposes to demonstrate a basic PHP MVC framework. It currently supports session management, flash messages, routing, user login/logout, user addition, display, update, and delete operations.

Features

  • Session Management
  • Migrations
  • Flash Messages
  • Master Layout
  • Routing
  • Form Validation
  • User Validation
  • Database Validation
  • User Login/Logout
  • Add User
  • Show User
  • Update User
  • Delete User
  • Protected Routes

Installation

Follow these steps to get started with the Astraphpmvc framework:

1. Install the Framework

Use Composer to install the framework:

composer require astraphp/phpmvc

2. Navigate to the Project Directory

Change to the project directory:

cd vendor/astraphp/aphpmvc/public

This is the entry point of the project.

3. Configure Your Database

Update the .env file with your database connection details.

4. Start the Server

Start the PHP built-in server with the following command:

php -S localhost:8080

5. Run Migrations

Navigate to the phpmvc directory and run the migrations:

cd path/to/phpmvc
php migration.php

Contributing

We welcome contributions to the Astraphpmvc framework! If you would like to contribute, please fork the repository and submit a pull request. Ensure your contributions follow the existing coding standards and include appropriate tests.

Note: This project is intended for educational purposes only. While contributions are encouraged, the framework is not fully tested for production environments. Use it at your own risk if deploying in production settings.

License

This project is licensed under the terms specified by Talha Saleem. You may use and contribute to this project, but it cannot be sold or used for commercial purposes.

Happy coding!

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-08-01