Create a PHP REST API

Source code to accompany this video: https://youtu.be/X51KOJKrofU

Signup and Login with PHP and MySQL

Topics covered in the video

  • Basic REST API routing and URLs
  • List, show, create, update and delete database records using a RESTful API
  • Best-practice code organisation
  • Controllers and table gateways
  • Relevant HTTP status codes
  • Data validation
  • JSON decoding and encoding

Complete API course, including authentication: https://davehollingworth.net/phpapisy