theunic/birthay-greetings-kata-php

A simple refactoring exercise that is meant to teach something about dependency inversion and dependency injection

2.0.0 2019-01-31 23:48 UTC

This package is auto-updated.

Last update: 2024-11-05 01:30:44 UTC


README

This is a simple refactoring exercise that is meant to teach something about dependency inversion and dependency injection.

This is the initial code for this kata written in PHP.

The documentation: http://matteo.vaccari.name/blog/archives/154

How to get started

Requirements

In order to use this Kata boilerplate you need to have installed Docker and Docker Compose.

Run it

To get started you should create a new project throught composer, based on this repository on packagist

git clone git@git.cumlouder.com:trainings/birthday-greetings-kata.git
cd birthday-greetings-kata

To check that all the tests are passing just execute PHPUnit

docker-compose up -d
php bin/phpunit

Now open your favourite IDE/text editor and start hacking.