Building REST APIs with Laravel

Intermediate
32.00 hours
0 students
English
Recurring certificate · valid 2 years
(0 reviews)

A practical 4-week course in building production-ready REST APIs with Laravel: API design, Eloquent, validation, API resources, Sanctum token authentication, policies, rate limiting, feature tests, queues, webhooks and deployment. Includes a recurring certificate valid for 24 months.

Building REST APIs with Laravel
Mobile apps, single-page frontends, partner integrations and bots all talk to a backend through an API. Laravel is one of the most productive PHP frameworks for building those APIs, with first-class support for routing, validation, database access, authentication, queues and testing.

Over four weeks you will build a complete task-management API step by step. Week 1 covers REST design and a clean Laravel setup with migrations and Eloquent models. Week 2 builds the CRUD endpoints with resource controllers, Form Request validation, API Resources and pagination. Week 3 secures the API with Sanctum tokens, policies, rate limiting and consistent JSON errors. Week 4 adds automated feature tests, background jobs and webhooks (including sending a Telegram notification), documentation and a production deployment checklist.

You will finish with a portfolio project on GitHub that demonstrates exactly what employers and clients look for in a backend developer. The course is taught by Prevail Ejimadu, a software developer and product builder who builds production systems with Laravel, JavaScript frameworks, modern APIs, automation and bots. It is the second course of the Software Engineering Professional learning path.

The examples follow Laravel 11 and later; where a command differs in older versions, the lesson says so.

Recurring certificate: frameworks and security practices move quickly, so the certificate for this course is valid for 24 months. You will be reminded 30 days before it expires and re-enrolled at no cost to refresh your skills and earn a new certificate.

What You'll Learn

By the end of this course, learners will be able to:
Design resource-oriented REST endpoints with correct methods and status codes
Set up a Laravel project for API development
Model data with migrations, Eloquent models and relationships
Build CRUD endpoints with resource controllers and route model binding
Validate input with Form Requests and return clear 422 errors
Shape responses with API Resources and pagination
Authenticate clients with Laravel Sanctum tokens and authorize with policies
Apply rate limiting and consistent JSON error handling
Write feature tests for every endpoint
Use queues, jobs and webhooks, and deploy an API safely

Recurring certificate: valid 2 years

The certificate for this course stays valid for 2 years, so employers know your knowledge is current. You are reminded 30 days before it expires, then enrolled again at no cost to refresh the course and earn a new certificate.

How recurring certification works

Part of a learning path

Take this course on its own, or get it with the other courses of the path at the bundle price.

Prerequisites

Working knowledge of PHP (variables, functions, arrays, classes)
Basic SQL (SELECT, INSERT, UPDATE, WHERE)
Git basics (or complete Git and GitHub for Professional Developers first)
PHP 8.2 or later, Composer and a database (MySQL/MariaDB or SQLite) installed
An HTTP client such as Postman, Insomnia, Bruno or curl

Course Content

12 lessons

Week 1: API Design and Laravel Foundations

REST principles, a clean Laravel API project, and the data layer with migrations and Eloquent.

Weekly objectives
By the end of Week 1, learners will be able to:
Design endpoints, methods and status codes for a resource
Create and configure a Laravel API project
Write migrations and Eloquent models with relationships
3 lessons
Designing a REST API: Resources, Methods and Status Codes
50 min
Setting Up Laravel for API Development
55 min
Migrations, Eloquent Models and Relationships
55 min

Week 2: CRUD Endpoints, Validation and Responses

Resource controllers, route model binding, Form Request validation, API Resources and pagination.

Weekly objectives
By the end of Week 2, learners will be able to:
Build the full set of CRUD endpoints
Validate requests with Form Requests
Shape output with API Resources and paginate lists
3 lessons
Controllers, Resource Routes and Route Model Binding
55 min
Validating Input with Form Requests
50 min
API Resources, Pagination and Filtering
50 min

Week 3: Authentication, Authorization and Protection

Sanctum tokens, ownership rules with policies, rate limiting, CORS and consistent error handling.

Weekly objectives
By the end of Week 3, learners will be able to:
Issue and revoke API tokens with Sanctum
Enforce ownership with policies
Apply rate limits and return consistent JSON errors
3 lessons
Token Authentication with Laravel Sanctum
55 min
Authorization with Policies
45 min
Rate Limiting, CORS and Consistent Errors
45 min

Week 4: Testing, Automation and Deployment

Feature tests for every endpoint, queues, jobs and webhooks, API documentation and a production deployment checklist.

Weekly objectives
By the end of Week 4, learners will be able to:
Write feature tests covering success, validation and authorization cases
Move slow work to queued jobs and send webhooks
Document and deploy the API safely
3 lessons
Feature Testing Your API
55 min
Queues, Jobs and Webhooks
55 min
Documenting and Deploying the API
55 min
Prevail Ejimadu

Prevail Ejimadu

Lead Instructor

About the Instructor

Prevail Ejimadu is a software developer and product builder known for creating practical, scalable digital solutions with a strong focus on real-world impact. His work spans across frontend and backend development, where he combines tools like Laravel, JavaScript frameworks, and modern APIs to build complete, production-ready systems.

He has a deep interest in automation, microservices, and building intelligent systems, from Telegram bots and SaaS platforms to blockchain-integrated applications. Rather than just writing code, Prevail focuses on solving problems, designing efficient workflows, and turning ideas into usable products.

Beyond development, he is a teacher and technical writer, committed to helping others break into tech with clarity and confidence. His approach emphasizes simplicity, practical execution, and building projects that actually work in the real world.

Prevail’s work sits at the intersection of engineering, product thinking, and innovation, which is driven by a goal to build tools, platforms, and systems that people can rely on.

No reviews

No Reviews Yet

Be the first to review this course!

₦60,000.00
Register to Enroll
Duration 32.00 hours
Level Intermediate
Lessons 12
Grading Breakdown
Assignments 40.00%
Quizzes 40.00%
Attendance 20.00%
Certificate Yes
recurring, valid 2 years
Share this course:

Related Courses

You might also be interested in these courses

Frontend Web Development -10%
General 2

Frontend Web Development

Subscribe to Our Newsletter

Get the latest courses, events, and offers delivered to your inbox.