Skip to content

opencodecursos/design-patterns-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns in PHP with Real Examples

In this repo you can find all familiar design patterns that uses in most php frameworks.
Design patterns divided into three categories as below :

Creational

Structural

Behavioral

SOLID

  • Single Responsibility Principle
  • Open/Closed Principle
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle

Architecture Patterns

  • MVC(Model, View, Controll)
  • HMVC(Hierarchical Model, View, Controll)
  • MVVM(Model View ViewModel)
  • MVP(Model View Presenter)
  • SOA(Service Oriented Architecture)
  • PAC(Presentation Abstraction Control)
  • ECS(Entity Component System)
  • DDD(Domain Driven Design)
  • HA(Hexagonal architecture)
  • CQRS(Command Query Responsibility Segregation)
  • ES(Event Sourcing)

Others

  • Service Container
  • Service Layer
  • Service Providers
  • Annotations
  • Inversion of Control [Factory Method]
  • Constructor Injection
  • Dependency Injection

About

All Design Patterns Samples in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%