Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Building RESTful APIs in Laravel

via LinkedIn Learning

Overview

Discover how to build a simple RESTful API using Laravel, the popular PHP framework.

Syllabus

Introduction
  • Building RESTful APIs in Laravel
1. An Introduction to APIs in Laravel
  • API overview
  • APIs in the real world
  • Our application: ePetitions API
  • The basics of Laravel 8
2. Setting Up Our Application
  • The project infrastructure
  • Creating the database structure
  • Creating a model factory and seeder
  • Setting up the RESTful API routes
  • Challenge: Creating an author resource infrastructure
  • Solution: Creating an author resource infrastructure
3. Building RESTful API
  • Using API resources to display all petitions
  • Saving a new petition
  • Displaying a specific petition
  • Updating an existing petition
  • Deleting a petition
  • Challenge: Building the author resource
  • Solution: Building the author resource
4. Testing Our API with Postman
  • Installing Postman
  • GET all petitions
  • POST a new petition
  • GET (show) a specific petition
  • PATCH (update) a petition
  • DELETE a petition
  • Challenge: Testing APIs with Postman
  • Solution: Testing APIs with Postman
Conclusion
  • Where to go from here

Taught by

Zuzana Kunckova

Reviews

4.7 rating at LinkedIn Learning based on 160 ratings

Start your review of Building RESTful APIs in Laravel

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.