flormich / skeleton-mvc
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 1
pkg:composer/flormich/skeleton-mvc
This package is not auto-updated.
Last update: 2025-12-17 20:34:31 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
