flormich / skeleton-mvc
There is no license information available for the latest version (v1.1.0) of this package.
v1.1.0
2018-09-14 12:54 UTC
This package is not auto-updated.
Last update: 2026-03-25 21:36:21 UTC
README
Start from PHP MVC skeleton
đ Description
- Front Controller
- Configuration routes
- PDO
- Template
đģ Installation
Clone this reposoitory
git clone https://github.com/flormich/skeleton-mvc
Move to the demo-MVC folder
cd skeleton-MVC
Generate the autoloading
composer dump-autoload
Create your routes in config/route.json like in exemple :
{
"index": {
"method" : "get",
"path" : "/Demo-MVC/public/",
"controller" : "AppController",
"action" : "show"
}
}
Change the database in config/database.json like in exemple :
{
"username" : "root",
"database" : "database_name",
"host" : "localhost",
"password" : "password"
}
â¨ī¸ Usage
Add routes, create controllers
đē Demo
â Todo
- Catch exception
- Create error page
- Create Flashbag
ÂŠī¸ Copyright
This project is under the MIT LICENSE
