delboy1978uk / blank
A blank project
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-20 00:16:12 UTC
README
a blank PHP setup for writing a new Github project with Composer and Packagist complete with travis builds and scrutinizer code coverage & quality analysis
##Usage
Simply clone this repository, delete the .git folder, tweak the composer.json, and do a couple of (case sensitive) find and replaces:
blank
Blank
Del
delboy1978uk
Rename the following files/folders:
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. ###Note about tests Tests are done using the awesome Codeception! Run tests from the root folder by typing:
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.