Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codenix-sv/design-patterns-php
Design patterns in PHP
https://github.com/codenix-sv/design-patterns-php
oop patterns patterns-php
Last synced: 8 days ago
JSON representation
Design patterns in PHP
- Host: GitHub
- URL: https://github.com/codenix-sv/design-patterns-php
- Owner: codenix-sv
- License: mit
- Created: 2018-03-27T14:02:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-23T11:55:06.000Z (almost 5 years ago)
- Last Synced: 2024-11-27T18:50:07.618Z (2 months ago)
- Topics: oop, patterns, patterns-php
- Language: PHP
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Design patterns in PHP
[![Build Status](https://travis-ci.org/codenix-sv/design-patterns-php.svg?branch=master)](https://travis-ci.org/codenix-sv/design-patterns-php)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/codenix-sv/design-patterns-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/codenix-sv/design-patterns-php/?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/29429a3f824e673f144d/maintainability)](https://codeclimate.com/github/codenix-sv/design-patterns-php/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/29429a3f824e673f144d/test_coverage)](https://codeclimate.com/github/codenix-sv/design-patterns-php/test_coverage)
[![License: MIT](https://img.shields.io/github/license/codenix-sv/design-patterns-php)](https://github.com/codenix-sv/design-patterns-php/blob/master/LICENSE)The patterns can be structured in different categories.
### [Creational](src/Creational)
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.* [AbstractFactory](src/Creational/AbstractFactory)
* [FactoryMethod](src/Creational/FactoryMethod)
* [Builder](src/Creational/Builder)
* [Singleton](src/Creational/Singleton)### [Structural](src/Structural)
Structural Design Patterns are Design Patterns that ease the
design by identifying a simple way to realize relationships between entities.* [Adapter](src/Structural/Adapter)
* [Bridge](src/Structural/Bridge)
* [Composite](src/Structural/Composite)
* [Decorator](src/Structural/Decorator)
* [Facade](src/Structural/Facade)
* [Proxy](src/Structural/Proxy)### [Behavioral](src/Behavioral)
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.* [ChainOfResponsibility](src/Behavioral/ChainOfResponsibility)
* [Command](src/Behavioral/Command)
* [Iterator](src/Behavioral/Iterator)