"99 Bottles of OOP" is a practical guide to writing cost-effective, maintainable, and pleasing object-oriented code.
https://www.sandimetz.com/99bottles
https://www.goodreads.com/book/show/31183020-99-bottles-of-oop
This repo has adapted the book's Ruby tests & implementation to PHP, within the context of the Laravel framework.
Tests:
/tests/Unit/BottlesTest.php
Final implementation:
/app/Bottles.php
/app/BottleNumber.php
/app/BottleNumber0.php
/app/BottleNumber1.php
/app/BottleNumber6.php
"99 Bottles of OOP" was a fantastic learning resource and I highly recommend it. All killer, no filler!