danzabar / phalcon-starter
A standard setup for the Phalcon php framework.
Requires
- danzabar/phalcon-cli: dev-master
- symfony/debug: 3.0.*@dev
Requires (Dev)
- mockery/mockery: dev-master
- satooshi/php-coveralls: dev-master
This package is not auto-updated.
Last update: 2024-10-26 16:52:17 UTC
README
A Skeleton project that has an already working test suite with travis setup and Composer integration.
How to install
Simply run composer create-project danzabar/phalcon-starter project-directory --prefer-source
Usage
In your project base, running phpunit
will run unit tests, there is already an example test setup in there.
There is also a base controller and an example controller.
Modules
Modules can be added in the app/config/modules.php
file, I have included a constant for the vendor directory, as I think modules are best served as composer packages. Although you are always free to make a directory and create modules specific to your app.
CLI
I have a seperate package Danzabar\Phalcon-CLI that improves the usability of the CLI. To run the CLI go to the root and run php cli Task:action params
. Theres more Documentation about the features of the CLI package on its own repo.