|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2023-09-29 (2 months ago) ||Not yet rated by the users||Total: 97 ||All time: 9,788 This week: 126|
This package provides an example implementation of a REST API.
It provides classes to route API requests to service classes.
This is the source code of my Udemy course, where I teach how to build a real-world RESTful API with PHP 8.2 from scratch.
use Whoops\Run as WhoopsRun;
use Whoops\Handler\JsonResponseHandler as WhoopsJsonResponseHandler;
require __DIR__ . '/vendor/autoload.php';
// handle all exceptions and convert them into JSON format
$whoops = new WhoopsRun();
Build a PHP RESTful API
This is the source code of my Udemy course Build a Modern REST API with PHP 8.2 ?
It is indispensable to enroll the Udemy course in order to understand and setup properly this project.
Composer & `composer install`
Run the in-built PHP server `php -S localhost:8080`
Pierre-Henry Soria. A super passionate and enthusiastic software engineer! ? Also, a true cheese ?, dark chocolate, and espresso lover! ??
This source code is distributed under the open-source MIT license.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.