This project demonstrates the use of SOLID principles in PHP. It includes examples of the Open/Closed Principle and the Dependency Inversion Principle.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- PHP 8.2 or higher
- Composer
- Clone the repository
git clone https://github.com/jfallis/solid-principles-php.git
- Run Tests
make test
- Run coverage report
make coverage-report
The SOLID principles are a set of five principles that help developers design maintainable and scalable software. The principles are: