- Data Mapper - as User object and User object Mapper
- Decorator - as API and user response
- Factory (Static Factory) - as SOAP and REST API clients
- Strategy - as API clients for version 1 and 2
- Observer - as User object with Cache and Mailer observers
Download composer and:
composer install
php bin/examples.php
OR
php DataMapper/example.php
php Decorator/example.php
php Factory/example.php
php Strategy/example.php
php Observer/example.php
bin/phpspec run
