Skip to content

gmaccario/simple-mvc-php-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple MVC PHP Framework

Requirements

PHP >=7.1.20 Composer

Tested on

PHP 7.1.20 Apache

Installation

git clone https://github.com/gmaccario/simple-mvc-php-framework.git

Or download the package from Github.

Composer

After the installation on your local or container, run the following command:

composer install

On your own:

  1. Set up and run your webserver (e.g. Apache);
  2. Open your browser;
  3. Go to the index page (often localhost).

Note: if you decide to put the framework into a subfolder, open /config/config.php and set up the name of the subfolder here URL_SUBFOLDER

Simple MVC PHP Framework Tutorial

https://www.giuseppemaccario.com/how-to-build-a-simple-php-mvc-framework/

NOTE: The goal of the article above, is to explain how to implement a simple MVC using PHP, not to explain the SOLID principles. So, in this context, I will mix the model context with the database access.

About

A simple MVC PHP framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages