Skip to content

A simple PHP application, with many handy tools and example pages built in.

Notifications You must be signed in to change notification settings

BeardyMike/MINIM1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the word MINIM1, shown in a sharp font

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.

Commenting

This project uses the PHP-FIG standard for commenting code, and we're try to ensure we 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 want MINIM1 to be an easier starting point for PHP beginners who are trying to learn the MVC pattern.

Installation

Open a terminal and use "composer install", this creates the VENDOR folder with all the dependencies.

THE PHP APPLICATION WILL NOT WORK UNLESS YOU PERFORM THIS STEP.


What's new?

  • 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.