Skip to content

nufrofedoc/solid-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

SOLID Principles in PHP

In software engineering, SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible, and maintainable.

Single Responsibility Principle

A class should have one and only one reason to change, meaning that a class should have only one job.

Open Closed Principle

Objects or entities should be open for extension but closed for modification.

Liskov Substitution Principle

Derived classes must be substitutable for their base classes.

Interface Segregation Principle

Many client-specific interfaces are better than one general-purpose interface.

Dependency Inversion Principle

Entities must depend on abstractions not on concretions.

About

The SOLID Principles in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages