Skip to content

guillermoandrae/php-skeleton

Repository files navigation

PHP Skeleton

Travis Scrutinizer Scrutinizer Coverage PHP from Travis config @guillermoandrae on Twitter

This project provides a skeleton that can be used to spin up PHP projects.

Installation

Do this, then relax:

composer create-project guillermoandrae/php-skeleton [project name]

Testing

Run the following command to make sure your code is appropriately styled:

composer check-style

Run the following command to check style, run tests, and generate a Clover report:

composer test

Run the following command to check style, run tests, and generate an HTML report (access the report at http://localhost:8080):

composer test-html