guillermoandrae / php-skeleton
Skeleton for PHP projects
1.2.1
2020-04-11 23:48 UTC
Requires
- php: >=7.2
- ext-json: *
- icanboogie/inflector: ^1.5
Requires (Dev)
- guillermoandrae/php-debug: ^0.2.0
- phpunit/phpunit: 8.*
- squizlabs/php_codesniffer: 3.*
README
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