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

0.8.1 2017-02-06 08:48 UTC

README

(former php/skeleton)

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

Getting started

Create project

composer create-project koriym/php-skeleton {project-path}

What is the vendor name ?

(MyVendor):Koriym

What is the package name ?

(MyPackage):AwesomeProject

What is your name ?

(Akihito Koriyama):

Composer scripts

test

composer test run phpcs, phpmd and phpunit. Run phpunit for unit test only.

composer test

cs-fix

composer cs-fix run php-cs-fixer and phpcbf to fix up the PHP code to follow the coding standards.

composer cs-fix

build

composer build run phploc, pdepend and test above. It's handy for Jenkins. You need composer requirre phploc/phploc and pdepend/pdepend for this.

composer build