Skip to content

php-dev/design-patterns-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns

This project is set of simple examples of usage of different design patterns in a real world scenarios. Each one have a short description and guideline:

Following patterns have so far been described:

Creational:

  1. Factory Method
  2. Abstract Factory
  3. Singleton
  4. Builder
  5. Prototype

Behavioral:

  1. Iterator
  2. Observer
  3. State
  4. Strategy
  5. Template Method
  6. Chain of Responsibility
  7. Visitor
  8. Command
  9. Null Object

Structural:

  1. Adapter
  2. Decorator
  3. Proxy
  4. Dependency Injection
  5. Facade
  6. Composite
  7. Bridge
  8. Flyweight
  9. Fluent Interface

About

Examples of design patterns in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.7%
  • Shell 0.3%