PHP REST API: Laravel 12, MySQL, OAuth2, JWT, Roles-Based

Updated 2025:: Laravel 12 and PHP 8.4.x | Practical PHP REST API development with step-by-step

PHP REST API: Laravel 12, MySQL, OAuth2, JWT, Roles-Based
PHP REST API: Laravel 12, MySQL, OAuth2, JWT, Roles-Based

PHP REST API: Laravel 12, MySQL, OAuth2, JWT, Roles-Based free download

Updated 2025:: Laravel 12 and PHP 8.4.x | Practical PHP REST API development with step-by-step

Updates:

  • Updated April 2025: PHP 8.4.x and Laravel 12.x

  • Updated September 2021: PHP 8.x and Laravel 8.x


This Bootcamp is designed for web developers and any developer who wants to build RESTful API using PHP and Laravel. The Bootcamp consists of various technical projects that are constructed with step-by-step approach. Starting from a simple RESTful API. You will learn how to create calculator APIs.

Then, you build REST APIs to publish database tables. This project is integrated with database MySQL and Laravel. You can learn how to implement REST API with HTTP GET, HTTP POST, HTTP PUT and HTTP DELETE.

Next, we build PHP RESTful API security to secure your REST API applications. We have three project scenario. We will implement token based authentication, OAuth2, JWT Token and Role-based token authentication (RBAC).

All projects are guided with step-by-step so you can follow easily.

You will learn:

  • How to build a simple RESTful API using PHP with Laravel

  • Make database tables as REST API with implementing CRUD (Create, Read, Update, Delete) operation

  • Apply PHP REST API security using token based authentication (Laravel Sanctum)

  • Work with OAuth2

  • Work with JWT token

  • Work with Role-based token authentication


The following is requirement environment in this bootcamp:

  • Computer with installed Windows, Linux or macOS

  • Having knowledge of PHP basic programming

  • Having knowledge of general web programming