Skip to content

johnpbloch/MicromvcExt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

MicroMVC Ext

MicroMVC Ext is a library of extensions for the MicroMVC framework. Some of the libraries included will build on existing classes in the framework (such as \Lib\Validation), others will not.

To install MicroMVC Ext, place the MicromvcExt directory in MicroMVC's Class directory. The directory structure should be something like this:

your-project-directory
| --- Class
|     | --- Controller
|     | --- Core
|     | --- MicromvcExt
|     |     \ --- Lib
|     \ --- Model
| --- Command
| --- Config
 ... etc

Alternatively, you can use MicroMVC Ext as a git submodule. To install it as a git submodule, run the following commands:

cd path/to/your/project
git submodule add git://github.com/johnpbloch/MicromvcExt.git Class/MicromvcExt
git submodule init
git submodule update

To use the MicroMVC Ext libraries in your project, use them as follows:

$validator = new \MicromvcExt\Lib\Validation( $data );

Use use statements to simplify the namespaces:

use \MicromvcExt\Lib as L;

$validator = new L\Validation( $data );

About

Extensions Library for MicroMVC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages