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

Laracasts

Laravel API Master Class

via Laracasts

Overview

In this workshop series, you'll learn how to design, version, build, and protect a web API using Laravel. We'll begin from scratch with a basic Laravel project, and construct a fully-featured API one lesson at a time.

Syllabus

  • What You Need
    • Status 200
    • Working with Postman
  • Setup the System
    • Designing the Url
    • How to Version Your API
    • Authentication Using Tokens
    • Revoking Authentication Tokens
  • Responding to Requests
    • Designing Response Payloads
    • Conditionally Omitting and Including Data
    • Using Optional Parameters to Load Optional Data
    • Writing Filters
    • Using (and Filtering) Nested Resources
    • Sorting Data
  • Handling Requests
    • Creating Resources with Post Requests
    • Deleting Resources with Delete Requests
    • Replacing Resources with Put Requests
    • Updating Resources with Patch Requests
  • Controlling Access
    • Using Policies for User Authorization
    • Controlling Access with Token Abilities
    • Applying Granular Permissions
  • Implement Those Controllers
    • Implementing the AuthorTicketsController
    • Managing Users
  • Some Important Topics
    • The Principle of Least Privilege
    • Handling Errors
    • Documenting Your API with Scribe

Taught by

Jeremy McPeak

Reviews

Start your review of Laravel API Master Class

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.