Skip to content

GulDmitry/phalcon-skeleton-application

Repository files navigation

Phalcon Skeleton Applicaton

Introduction

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.

Setup

php composer.php -self-update

php composer.php install

Go to config/autoload/ copy application.local.php.dist and rename without .dist.

CLI

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.

Tests

Install phpunit. Go to tests/ and execute the command phpunit.

TODO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published