A sample multi-module application. MVC Application class and listeners have been taken from https://github.com/dphn/SkeletonApplication
Features:
- Multi language.
- Examples of cache usage.
- CLI module with ability to clear cache, show system routes, etc.
- Layouts hierarchy and partials.
- Assets compilation.
- Twitter Bootstrap as main theme.
- Tests.
php composer.php -self-update
php composer.php install
Go to config/autoload/
copy application.local.php.dist
and rename without .dist
.
CLI modules have the same structure as MVC modules with one difference - tasks instead of controllers. To create a new -
put a folder in data/modules/
and define a name in the configs modulesCLI
section.
To use go to the root of your project and run php cli.php
. As help you will see all available routes.
Install phpunit
.
Go to tests/
and execute the command phpunit
.