php-base-project / php-base-project
A packagist ready package to start a new PHP 7 project including Composer, PHPUnit, Travis, CodeClimate and StyleCI.
1.0.9
2019-01-08 21:00 UTC
Requires
- php: >=7
Requires (Dev)
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^6
- sebastian/phpcpd: ^3.0
- squizlabs/php_codesniffer: ^3.2
README
A Composer ready package to start a new PHP 7 project including Composer, PHPUnit, Travis, CodeClimate and StyleCI. More info here.
Server Requirements
- PHP >= 7.4
Usage
- First install this template:
composer create-project php-base-project/php-base-project
- Find and replace all
php-base-project
,PHP Base Project
andPhpBaseProject
with your project root, name and namespace respectively. - Create an account on Travis, Scrutinizer and Code Climate and allow access to your repository
- Update
composer.json
with the relevant information to your project - Update
.travis.yml
with your repository token from Code Climate - Update readme file with the right path to the badges
- Update author name in the license