https://www.codeofaninja.com/create-simple-rest-api-in-php/
How To Create A Simple REST API in PHP? Step By Step Guide!