blank
a blank PHP setup for writing a new Github project with Composer and Packagist complete with travis builds and scrutinizer code coverage & quality analysis, (*1)
Usage
Simply clone this repository, delete the .git folder, tweak the composer.json, and do a couple of (case sensitive) find and replaces:, (*2)
blank
Blank
Del
delboy1978uk
Rename the following files/folders:, (*3)
src/Blank.php
tests/unit/Del/
tests/unit/Del/BlankTest.php
Finally, add your repository on Travis CI and Scrutinizer, then commit and push to your Github repository.
Now Github has a commit with a composer.json, head over to Packagist and submit your repository., (*4)
Note about tests
Tests are done using the awesome Codeception! Run tests from the root folder by typing:, (*5)
vendor/bin/codecept run unit
Tests will push to your Travis branch, which will push code coverage to scrutinizer. Now you can start making tests and not worry about setup., (*6)