This is a library to manage database storage of short URLs
Copyright 2017 Mark Roland.
Released under the MIT license.
- Write unit tests
- Test build processes (phpunit, phpcs, phpdoc, build.xml)
composer require markroland/url-shortener-lib
phing
phing phpdoc
phing phpcs
phpunit --bootstrap tests/bootstrap.php tests
phpunit --coverage-html ./report ./tests
PHP Documentation is compiled using phpDocumentor, which is assumed to be installed globally on the server. It uses phpdoc.dist.xml for runtime configuration.
phpdoc
phpcs -n --report-width=100 ./src