Installs: 12

Dependents: 0

Stars: 2

Watchers: 1

Language: Shell

Type: project

v0.2.0 2014-04-22 17:55 UTC


This is a simple skeleton for starting a TDD Kata in PHP. I find this useful when I develop a new PHP library from scratch.

Getting started

To begin a new TDD Kata just ask composer to create a new project based on this repository. Thanks to @edelprino I added a simple bash script to do it.

curl -sS https://raw.github.com/dbellettini/php-kata-sandbox/master/install | sh

Running tests

PHPUnit is embedded in vendor folder, just type:

cd kata-sandbox && bin/phpunit

Keeping your coding style PSR-{1,2} compliant

Optional step, just copy hooks/pre-commit file to your .git/hooks folder