Checkout Design Patterns Branch
git checkout patterns
- Bridge Pattern
- Factory Pattern
- Singleton Pattern
- Strategy Pattern
Checkout RestApi Branch
git checkout rest-api
- Change your database details in include/config.php
- Run localhost/practice/rest-api/install.php
- Now you can browse the following:
- http://localhost/practice/rest-api/get.php?format=json&showhtml=true
- Simple PHPUnit test example checkFormatTest.php