WillPHP Framework is a lightweight PHP 8 development framework.
-
It is easy to LEARN:If you know ThinkPHP, you'll find WillPHP easy to grasp.Of course, if you're not familiar with ThinkPHP, that's perfectly fine. This is a framework designed for beginners, and it's very easy to get started with, even if you are learning from scratch.
-
More Light:Only 200KB+, WillPHP boasts a simple directory and file structure.
-
Simple:Development requires minimal code, and template syntax is customizable.
-
ORM (Object-Relational Mapping):It is Similar to ThinkPHP, WillPHP offers straightforward database operations.
-
Security:Automatically filters and validates incoming request parameters for enhanced security.
- PHP7.4.3~PHP8.2.x
- Required extensions such as PDO,etc.
Development Manual: https://willphp.gitee.io
Gitee Repository: https://gitee.com/willphp/yiyu
GitHub Repository: https://github.com/willphp/yiyu
You can use the 'composer' command to install and extend:
composer create-project willphp/yiyu blog --prefer-dist
If no composer extension is needed, it is recommended to delete the vendor directory to speed up the framework's operation!
Apache Rewriting Rule public/.htaccess
File:
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php? [L,E=PATH_INFO:$1]
</IfModule>
Nginx Rewriting Rule public/nginx.htaccess
File:
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php/$1 last;
}
}
QQ Group 1:325825297 Q Group 2:16008861
Official Website::113344.com Our Email:大松栩([email protected])
Also you can communicate with us through issues, raise your questions, or provide suggestions. We will do our best to answer and make improvements. Thank you for your support and encouragement for this project. We will continue to work hard and strive for further progress!
This project adheres to the Apache-2.0 License