Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pavelloparev/design-patterns
Contains examples of design patterns that implemented in php
https://github.com/pavelloparev/design-patterns
design-pattern design-patterns examples oop php phpunit
Last synced: 10 days ago
JSON representation
Contains examples of design patterns that implemented in php
- Host: GitHub
- URL: https://github.com/pavelloparev/design-patterns
- Owner: PavelLoparev
- License: gpl-3.0
- Created: 2017-03-05T15:12:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T19:38:00.000Z (almost 8 years ago)
- Last Synced: 2025-01-23T06:07:47.974Z (10 days ago)
- Topics: design-pattern, design-patterns, examples, oop, php, phpunit
- Language: PHP
- Homepage:
- Size: 70.3 KB
- Stars: 379
- Watchers: 22
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/PavelLoparev/design-patterns.svg?branch=master)](https://travis-ci.org/PavelLoparev/design-patterns)
# Design Patterns
Repository contains a list of design patterns implemented in php. All examples was given from ["Design Patterns"](http://shop.oreilly.com/product/9780596007126.do) book.# Creational
* [Abstract factory](https://github.com/PavelLoparev/design-patterns/tree/master/src/AbstractFactory)
* [Factory method](https://github.com/PavelLoparev/design-patterns/tree/master/src/FactoryMethod)
* [Factory](https://github.com/PavelLoparev/design-patterns/tree/master/src/Factory)
* [Singleton](https://github.com/PavelLoparev/design-patterns/tree/master/src/Singleton)# Structural
* [Adapter](https://github.com/PavelLoparev/design-patterns/tree/master/src/Adapter)
* [Composite](https://github.com/PavelLoparev/design-patterns/tree/master/src/Composite)
* [Decorator](https://github.com/PavelLoparev/design-patterns/tree/master/src/Decorator)
* [Facade](https://github.com/PavelLoparev/design-patterns/tree/master/src/Facade)# Behavioral
* [Command](https://github.com/PavelLoparev/design-patterns/tree/master/src/Command)
* [Iterator](https://github.com/PavelLoparev/design-patterns/tree/master/src/Iterator)
* [Observer](https://github.com/PavelLoparev/design-patterns/tree/master/src/Observer)
* [Strategy](https://github.com/PavelLoparev/design-patterns/tree/master/src/Strategy)
* [Template method](https://github.com/PavelLoparev/design-patterns/tree/master/src/TemplateMethod)# Tests
`$ composer install``$ ./vendor/bin/phpunit`
# License
GPLv3. See LICENSE file.