koine / mvc-skeleton
Skeleton for mvc application using the koine/mvc framework
0.9.0
2014-09-19 19:26 UTC
Requires
- php: >=5.3.3
- koine/mvc: ~0.9.7
Requires (Dev)
- phpunit/phpunit: *
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2024-12-21 17:22:32 UTC
README
Another very simple MVC framework.
Code information:
Package information:
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.
- 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
How to run the tests:
phpunit --configuration tests/phpunit.xml
To check the code standard run:
phpcs --standard=PSR2 lib phpcs --standard=PSR2 tests