This project was created in order to provide project skeleton to start new PHP project.
This project is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher.
You'll need Composer.
composer create-project josantonius/php-skeleton {project-path}
Various config files are ready for continuous integration.
- phpunit.xml for phpunit
- phpmd.xml for PHPMD
- phpcs.xml for PHP_CodeSniffer
- .php_cs for php-cs-fixer
- .travis.yml for Travis CI
composer tests
run phpcs
, phpmd
and phpunit
. Run phpunit
for unit test only.
composer tests
composer fix
run php-cs-fixer
and phpcbf
to fix up the PHP code to follow the coding standards.
composer fix
This repository is licensed under the MIT License.
Copyright © 2013, Koriym
Copyright © 2017-2022, Josantonius