Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

bvqbao/framework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple MVC Framework

#What is Simple MVC Framework?

Simple MVC Framework (SMVC) is a PHP 5.5 MVC system. It's designed to be lightweight and modular, allowing developers to build better and easy to maintain code with PHP.

The base framework comes with a range of helper classes.

Version 2.2+p

This is a customized version of the SMVC v2.2 which pulls out publicly-accessible files (js/css/img files) from the app folder and places them in a separate folder. This setup enables more flexibility in organizing the application folder structure (i.e. placing the app and vendor folders outside the web root becomes easier now).

Documentation

Full docs & tutorials are available at simplemvcframework.com (although this is a customized version the documentation of the original one is still applicable).

Requirements

The framework requirements are limited:

  • Apache Web Server or equivalent with mod rewrite support.
  • PHP 5.5 or greater is required.

Although a database is not required, if a database is to be used the system is designed to work with a MySQL database. The framework can be changed to work with another database type.

Installation

  1. Download the framework.
  2. Unzip the package.
  3. Upload the framework files to your server (only the contents of the public folder are required to be in your web root).
  4. Open app/Core/config.php, set your base path (it is the path from the web root to the folder in which the index.php file resides), and database credentials (if a database is needed).
  5. Edit .htaccess file (located in your public folder) and save the base path (it is the path from the web root to the folder in which the index.php file resides).
  6. If you have done the above steps correctly, you should have a working application now. Start working with your application by setting up your routes at app/Core/routes.php.

About

Version 2.2+p of the Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.9%
  • Other 0.1%