camspiers / php-lib-create
Creates a PHP composer library with useful defaults (github repo, phpunit, travis, namespace, php-cs-fixer, README)
dev-master
2013-04-15 22:47 UTC
Requires
- composer/composer: 1.0.*
- knplabs/github-api: ~1.1
- symfony/config: ~2.1
- symfony/console: ~2.1
- symfony/dependency-injection: ~2.1
- symfony/process: ~2.1
- symfony/yaml: ~2.1
This package is auto-updated.
Last update: 2024-11-19 14:10:01 UTC
README
Enables you to quickly create a PHP library with the following defaults:
- Composer config
- Github repo
- Namespace
- Phpunit config
- Travis config
- PHP CS Fixer config
- README file
Installation
Download the php-lib-create.phar executable.
Global installation
$ wget http://camspiers.github.io/php-lib-create/php-lib-create.phar
$ ln -s $PWD/php-lib-create.phar /usr/local/bin/php-lib-create
Updating
To stay up to date run
$ php php-lib-create.phar self-update
Usage
$ php php-lib-create.phar create
or
$ php php-lib-create.phar create -d ~/somedir