SOLID Example
How to use this codebase:
Option 1: for git aficionados
-
clone this repo and browse to its directory
-
git checkout step0
to get to the original code -
follow along with
git checkout step{n}
for n=1..16Or, refactor it yourself and see how we compare!
Option 2: using GitHub's UI
- Click the
<> Code
tab - Click
19 commits
- Starting from
Original PHP file
at the bottom, click on each commit going up to see the changes