Another very simple MVC framework.
Code information:
Package information:
Run the following command
composer create-project koinephp/mvc-skeleton --stability=dev
git clone https://github.com/koinephp/mvc-skeleton.git myapp
cd myapp
composer install
- Controllers are found in
app/controllers
- Views are found in
app/views
The default namespace is MyApp. To change, change a few files as follows:
- Edit composer.json, the autoload session
- Edit public/index.php and change the
$appNamespace
variable.
Here is the issue tracker.
Only TDD code will be accepted. Please follow the PSR-2 code standard.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
phpunit --configuration tests/phpunit.xml
phpcs --standard=PSR2 lib
phpcs --standard=PSR2 tests