chanhong / mvclite
MVC Lite
Requires
- php: >=5.3.0
- chanhong/pdolite: 1.0.x-dev
- chanhong/phploaderlite: 1.0.x-dev
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-22 19:32:37 UTC
README
Very lite MVC core class
Installation
$ ./composer.phar require chanhong/mvclite 1.0.x-dev
copy bootstrap.mvclite.php.dist and rename as bootstrap.mvclite.php
Usage
// might not need this
// add these lines to your index.php
define('MVCLite', DOCROOT .'/vendor/chanhong/mvclite');
if (file_exists(MVCLite. '/bootstrap.mvclite.php'))
require_once(MVCLite. '/bootstrap.mvclite.php');
// might not need this
Add this framework as submodule or subtree NEW main repo git submodule add https://github.com/chanhong/mvclite.git apps/Lib/mvclite git subtree add --prefix=apps/Lib/mvclite mvclite master
git add . git commit -m "Remove embedded mvclite before subtree import" git subtree add --prefix=apps/Lib/mvclite mvclite master
// push or pull from mvclite master git subtree push --prefix=apps/Lib/mvclite mvclite master git subtree pull --prefix=apps/Lib/mvclite mvclite master