https://blogs.backlinkworks.com/creating-a-php-api-best-practices-and-tips/
Creating a PHP API: Best Practices and Tips