A flat implementation of MVC in PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
src
.env.example
.gitignore
README.md
composer.json

README.md

flat-mvc

A flat implementation of MVC in PHP

Database

CREATE TABLE people
(
    id INT PRIMARY KEY AUTO_INCREMENT,
    firstname VARCHAR(255) NOT NULL,
    lastname VARCHAR(255) NOT NULL,
    address VARCHAR(255) NOT NULL
);

Config

# Copy .env.sample to .env
DB_DSN = "mysql:host=127.0.0.1;dbname=db"
DB_USER = "root"
DB_PASS = "toor"
DEVELOPMENT=true