SOLID¶
SOLID is an acronym for a set of OOP design principle. They were coined by Robert C. Martin, the famous Uncle Bob.
S: single Responsibility Principle
O: open Closed Principle
L: liskov Substitution Principle
I: interface Segregation Principle
D: dependency Inversion Principle
Each principle may be used independently. Those principles are not dedicated to PHP, though they are used with PHP.
The opposite of SOLID is STUPID.
See also Solid Relevance, SOLID principles in PHP and STUPID Versus SOLID Programming.
Related : Single Responsability Principle (SRP), Open Closed Principle (OCP), LSP, Interface Segregation Principle (ISP), Dependency Injection, __invoke() Method, Don’t Repeat Yourself (DRY), Responsability, Separation Of Concerns, Cohesion, God Object, KISS