flormich/skeleton-mvc

There is no license information available for the latest version (v1.1.0) of this package.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 2

Open Issues: 1

pkg:composer/flormich/skeleton-mvc

v1.1.0 2018-09-14 12:54 UTC

This package is not auto-updated.

Last update: 2025-12-17 20:34:31 UTC


README

Codacy Badge

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

logo

➕ Todo

  • Catch exception
  • Create error page
  • Create Flashbag

ÂŠī¸ Copyright

This project is under the MIT LICENSE