/design-patterns-php

Design patterns in PHP

Primary LanguagePHPMIT LicenseMIT

Design patterns in PHP

Build Status Scrutinizer Code Quality Maintainability Test Coverage License: MIT

The patterns can be structured in different categories.

In software engineering, creational design patterns are design patterns that deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. The basic form of object creation could result in design problems or added complexity to the design. Creational design patterns solve this problem by somehow controlling this object creation.

Structural Design Patterns are Design Patterns that ease the design by identifying a simple way to realize relationships between entities.

Behavioral design patterns are design patterns that identify common communication patterns between objects and realize these patterns. By doing so, these patterns increase flexibility in carrying out this communication.