This repository contains examples of common design patterns implemented in PHP.
The following relationship types are used in the UML diagrams throughout this repository:
Aggregation - Describes a "whole-part" relationship where the "part" can exist independently of the "whole". The diamond is placed on the "whole" side.
Composition - A subtype of aggregation in which the "parts" cannot exist separately from the "whole".
Dependency - A dashed arrowhead line indicates a class that instantiates objects of another class. The arrow points to the class of the instantiated objects.
Generalization - Represents inheritance or interface implementation relationships. The arrow points to the superclass or interface.
- Clone the repository
- Run
composer install - Execute tests with
vendor/bin/phpunit
This project is licensed under the MIT License - see the LICENSE file for details.



