library php-library-seed
This is PHP library starter for bootstrapping new packages with preconfigured testing, code coverage, profiling and travis integration
scallacs/php-library-seed
This is PHP library starter for bootstrapping new packages with preconfigured testing, code coverage, profiling and travis integration
- Sunday, September 17, 2017
- by scallacs
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
php-library-seed
This is a PHP library infrastructure for bootstrapping new packages., (*1)
Key features
- Run unit tests
- Run integration test
- Code coverage
- Performance ?
- Publish to packagist
- travis integration
Setup
git clone git@github.com:scallacs/php-library-seed.git
cd php-library-seed
composer install
cp phpunit.xml.dist phpunit.xml
To enable code coverage xdebug must be enabled., (*2)
php -v
should output something like this:, (*3)
PHP 7.0.6 (cli) (built: Apr 27 2016 14:00:40) ( ZTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
Development
Testing
composer run test