A clean PHP application, with some helpful diagnostic and setup tools, plenty of example pages, and many handy functions built in.
Ideal for PHP beginners, or someone looking for a clean starter MVC-pattern project.
MINIM1 is based on MINI3, from Panique. This project allows for much deeper customisation, and includes a number of new features that wouldn't make sense in the regular MINI3 project.
This project uses the PHP-FIG standard for commenting code, and we've taken great effort to show how and why each function is used. If you find a comment that needs amending, please feel free to submit a pull request to the dev branch. We want MINIM1 comments to be easy to read, helping new users understand why functions work the way they do.
We wanted to create a version of MINI3 that was more up to date, included a number of new features, and that is a signifacnt depatrure from MINI3's goals of being super simple/lightwieght. We want MINIM1 to be a
We also want MINIM1 to be an easier starting point for PHP beginners who are trying to learn the MVC pattern.
Open a terminal and use "composer install", this creates the VENDOR folder with all the dependencies.
- Simplified installation process, using composer install. Protected view() function in the Controllers with a variable passing on most routes.
view('_templates/header.php', [
'meta_title' => 'Homepage',
'meta_description' => 'This the pages meta description',
'meta_canonical' => URL . "home"
]);
- AJAX examples on the homepage.
- additional PDO Database templates, for quickly adding additional DBs.
- simple auth framework for sites that need a login function.
- add support for hyphenated URLs, passed form the frontend.