dbellettini/kata-sandbox

v0.7.0 2019-12-18 10:38 UTC

This package is auto-updated.

Last update: 2024-12-08 11:57:22 UTC


README

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