Skip to content

gimmeursocks/php-mvc-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple MVC PHP Framework

Description

Basic barebones framework using PHP that follows the MVC pattern (Model-View-Controller).

Requirements

PHP >= 7.0 Composer

Tested on

PHP 8.3 Apache 2.4

Installation

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

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 decided to put the framework into a subfolder, open /config/config.php and set up the name of the subfolder here URL_SUBFOLDER, for example if it's loads from localhost/test/ then your URL_SUBFOLDER should be /test.

About

A simple Model-View-Controller (MVC) framework implemented in plain PHP

Topics

Resources

Stars

Watchers

Forks

Languages