Create a PHP REST API : Write a RESTful API from Scratch using Plain, Object-Oriented PHP and MySQL
Create a PHP REST API : Write a RESTful API from Scratch using Plain, Object-Oriented PHP and MySQL
Learn how to develop a complete, RESTful API using plain, object-oriented PHP, MySQL and best practices.
Full API course, including authentication:
https://www.udemy.com/course/php-apis/?referralCode=28BEC64D47796AE4B5E1
Recommended host:
https://sl1nk.com/vymc9id
Please consider supporting my channel:
https://jalalmhz.ir/buymecoffee
In this video you'll learn how to:
• create RESTful URLs
• list, show, create, update and delete database records using an API
• organise your PHP code
• use controllers and table gateways
• return relevant HTTP status codes
• validate data in an API
• decode and encode requests and responses as JSON
Code shown in the video:
https://github.com/daveh/php-rest-api
Relevant documentation:
https://curl.se/
https://www.postman.com/
https://httpie.io/
https://www.php.net/manual/en/function.set-exception-handler.php
https://www.php.net/manual/en/pdo.setattribute.php
https://www.php.net/manual/en/class.errorexception.php
#PHP #MySQL #REST #API
نظرات