PHP Classes

PHP Very Simple MVC: Framework to route requests to controller classes

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 59 All time: 10,526 This week: 43Up
Version License PHP version Categories
php-very-simple-mvc 1.0MIT/X Consortium ...5HTTP, PHP 5, Libraries, Design Patterns
Description 

Author

This package provides a framework to route requests to controller classes.

It provides a base controller class to help load specific model classes and view scripts.

The package also provides an application class that can extract from the request URL the controller class name that should be loaded and called to handle the current request.

It can also load an error page script when the request URL does not pass the name of an existing controller class to handle the current request.

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq <contact>
Classes: 52 packages by
Country: Pakistan Pakistan
Innovation award
Innovation award
Nominee: 6x

 

Example

<?php

require_once "../app/init.php";
$app = new App();


Details

php-very-simple-mvc


  Files folder image Files (12)  
File Role Description
Files folder imageapp (2 files, 5 directories)
Files folder imagepublic (2 files)
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:59
This week:0
All time:10,526
This week:43Up