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

This package is auto-updated.

Last update: 2024-04-19 12:55:08 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