/php-skeleton-project

A PHP skeleton project intended to create libraries.

Primary LanguagePHP

php-skeleton-project

build

A PHP skeleton project with some goodies.

Usage

  1. Clone it:
$ git clone git@github.com:ratacibernetica/php-skeleton-project.git my-awesome-project
  1. Install dependencies (require-dev):
$ composer install
  1. Make it yours, remove the remote:
$ git remote origin 

Testing

Normal testing

Just run the following to run the test:

$ composer test

Continuous Testing

The composer.json comes with PHPUnit and the task runner Robo.

To execute the task runner defined in the RoboFile:

$ composer watch

The robo plugin executes the tests every time a change is made in src or tests folder. You can tweak this to your preference in the RoboFile.