php/skeleton

This package is abandoned and no longer maintained. The author suggests using the koriym/php-skeleton package instead.

Generic PHP project skeleton package

1.0.0-alpha 2018-04-13 07:14 UTC

README

This project was created in order to provide project skeleton to start new PHP project. Various config files are ready for continuous integration.

Create Project

composer create-project koriym/php-skeleton {project-path} ^1.0@dev

What is the vendor name ?

(MyVendor):Koriym

What is the package name ?

(MyPackage):AwesomePackage

What is your name ?

(Akihito Koriyama):

Composer Commands

test

composer test run phpunit.

tests

composer tests run phpcs, php-cs-fixer, phpmd, phpstan and phpunit.

coverage

composer coverage builds test coverage report.

cs-fix

composer cs-fix run php-cs-fixer and phpcbf to fix up the PHP code to follow the coding standards. (Check only command compposer cs is also available.)

build

composer build run phploc, pdepend and tests above. It's handy for Jenkins. You need "composer require phploc/phploc pdepend/pdepend --dev" for this.