Skip to content

daveh/php-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a PHP REST API

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

Create a PHP REST API : Write a RESTful API from Scratch using Plain, Object-Oriented 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