Skip to content

This is a repository for Design Patterns using PHP. It includes examples and unit tests for each pattern.

Notifications You must be signed in to change notification settings

keroles19/design-patterns-php

Repository files navigation

Design Pattern Using PHP

This is a repository for Design Patterns using PHP. It includes examples and unit tests for each pattern.

  • Creational Design Patterns

    • Factory Method
    • Abstract Factory
    • Simple Factory
    • Static Factory
    • Builder
    • Prototype
    • Singleton
  • Structural Design Patterns

    • Adapter [ Wrapper ]
    • Bridge
    • Composite [ Object Tree ]
    • Decorator
    • Dependency - Injection
    • Facade
    • Fluent Interface
    • Proxy
    • Flyweight [Cache]
  • Behavioral Design Patterns

    • Chain of Responsibility
    • Command
    • Iterator

Setup

  • run composer install

Run Test

  • run ./vendor/bin/phpunit Tests

License

This project is licensed under the MIT License

About

This is a repository for Design Patterns using PHP. It includes examples and unit tests for each pattern.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages