kuriv / phpdp
This package is abandoned and no longer maintained.
No replacement package was suggested.
Sample code for several design patterns in PHP.
1.0.3
2020-08-21 03:41 UTC
Requires
- php: >=7.4.0
Requires (Dev)
- phpunit/phpunit: ~8.0
This package is auto-updated.
Last update: 2023-07-23 17:49:35 UTC
README
Sample code for several design patterns in PHP.
Installation
Git
git clone https://github.com/kuriv/phpdp.git
Composer
composer require kuriv/phpdp
Contents
Behavioral
- ChainOfResponsibilities
- Command
- Iterator
- Mediator
- Memento
- NullObject
- Observer
- Specification
- State
- Strategy
- TemplateMethod
- Visitor
Creational
More
Structural
- Adapter
- Bridge
- Composite
- DataMapper
- Decorator
- DependencyInjection
- Facade
- FluentInterface
- Flyweight
- Proxy
- Registry
License
phpdp
is open-sourced software licensed under the MIT license .