Design Patterns by Examples in PHP
Most simplest design pattern implementation in PHP, including all 23 GoF patterns plus some other patterns. These code are part of PHP Framework Course provided by Fairway Technology.
How to learn?
Read the code.
Creational Patterns
Structural Patterns
Behavioral Patterns
- Strategy
- Observer
- Command
- Chain of Responsibility
- Iterator
- Mediator
- Interpreter
- State
- Memento
- Visitor
- Template
Other (non-GoF)
Note
These code are oversimplified by design and may not follow all best practices. Use this only as education purpose in attempt to understand the patterns, not as direct example to use in real projects.
License and Contact
- License - MIT License
- Website - eimaung.com
- Email - [email protected]