Template for PHP Packages, that can be installed with Composer
Includes pre-configured:
- PHP_CodeSniffer code style validator
- PHPUnit unit tests
- Travis CI config to run PHP_CodeSniffer and PHPUnit and submit code coverage results to codecov.io
- README and version CHANGES templates
- .gitignore
-
Install Cookiecutter, using
$ pip install --user cookiecutter
or any other method, described in Cookiecutter Intallation Manual.
-
Create new project, using this template:
$ cookiecutter gh:saritasa/cookiecutter-php-package