koine/mvc-skeleton

Skeleton for mvc application using the koine/mvc framework

0.9.0 2014-09-19 19:26 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:22:32 UTC


README

Another very simple MVC framework.

Code information:

Build Status Coverage Status Code Climate Scrutinizer Code Quality

Package information:

Latest Stable Version Total Downloads Latest Unstable Version License Dependency Status

Installing

Via Composer

Run the following command

composer create-project koinephp/mvc-skeleton --stability=dev

Via Git

git clone https://github.com/koinephp/mvc-skeleton.git myapp
cd myapp 
composer install

Files

  • Controllers are found in app/controllers
  • Views are found in app/views

Setting up your app namespace

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.

Issues/Features proposals

Here is the issue tracker.

Contributing

Only TDD code will be accepted. Please follow the PSR-2 code standard.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

How to run the tests:

phpunit --configuration tests/phpunit.xml

To check the code standard run:

phpcs --standard=PSR2 lib
phpcs --standard=PSR2 tests

Lincense

MIT

Authors