Stars: 440
Forks: 147
Pull Requests: 4
Issues: 2
Watchers: 21
Last Updated: 2022-10-30 11:19:42
Some examples about SOLID Design Principles in PHP
License: MIT License
Languages: PHP
This principle is about actors and high level architecture.
A class should have one, and only one, reason to change.
This principle is about class design and feature extensions.
A class should be open for extension, but closed for modification.
This principle is about subtyping and inheritance
Derived classes must be substitutable for their base classes.
This principle is about business logic to clients communication.
Many client-specific interfaces are better than one general-purpose interface.
This principle wires up all other four principles in a single circle.
Depend upon abstractions. Do not depend upon concretions.