Laravel's JSON:API resources handle the serialization of your responses. If you also need to parse incoming JSON:API query parameters such as filters and sorts, Spatie's Laravel Query Builder is a great companion package.
Laravel 12 modernizes API development with cleaner syntax, streamlined tooling, and developer-first conventions. Learn to build, secure, and test RESTful APIs with best practices and minimal setup.
Laravel API best practices for 2026 covering Sanctum authentication, API versioning, rate limiting, and JSON:API resources. Battle-tested patterns that scale.
APIs (Application Programming Interfaces) are essential for modern web applications, enabling communication between services and systems. In Laravel, consuming an external API is straightforward thanks to its built-in HTTP client, introduced in Laravel 7. This guide will show you how to integrate and consume an API in Laravel step-by-step with best practices.
Master Laravel API design and security! Build a full-featured, versioned API from scratch in this friendly, step-by-step Laracasts workshop series.
In this beginner-friendly Laravel Restful CRUD API tutorial, you will learn how to build a complete REST API from scratch using Laravel. This is a step-by-step guide designed for beginners who ...
Laravel Passport seamlessly integrates with Laravel's authentication system, making it a breeze to add OAuth2 authentication to your API and integrate with external applications that rely on OAuth2. Another notable package is DingoAPI, which provides a robust set of tools for building RESTful APIs in Laravel.
Learn how to perform testing APIs using in Laravel by creating a model that you can use to build the API in Laravel.