MVC framework for PHP 8.0.15 and later.
This is a micro framework based around the Model-View-Controller pattern.
A suitable structure for ordinary projects.
- PHP >= 8.0.15
- Getting framework
git clone https://github.com/im-javad/SatrapFramework.git
- Create database schema
- Configuring the database in the
.env
DB_driver = "mysql"
DB_host = "localhost"
DB_name = "your database name"
DB_user = "root"
DB_password = "your database password"
- Go to the public folder
- Start php server by running command
php -S 127.0.0.1:8000
- Open in browser http://127.0.0.1:8000
Thanks(:<3