Basic of MVC's concept.
Noting, the only purpose of this framework is pure educational to give you all some knowledges. It's not recommended to use this framework on any of your production websites.
The core package: here
Download the latest release of core package from the core releases page. Open the core folder and explore the source code.
- Clone the repository
git clone https://github.com/alfianchii/php-mvc-framework - Create database scheme. For example, create a database which named
phpmvc_project - In the project root folder, create
.envwhich is based from.env.examplefile and adjust database parameters (including scheme name) - Install packages using Composer. For example run
composer install - From the project root folder, migrate the migrations by executing
php migrations.php - Go to
publicfolder - Run server with
php -S localhost:8080command and openhttp://localhost:8080in your favourite browser