Building RESTful APIs in Laravel

Building RESTful APIs in Laravel
Building RESTful APIs in Laravel

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 19m | 624 MB
eLearning | Skill level: Intermediate

Laravel is one of the most popular PHP frameworks for building elegant applications. In this course, learn how to build a RESTful API using Laravel. Instructor Justin Yost goes over some of the basic pieces of the framework, and then covers how to build a browse, read, edit, add, and delete (BREAD) API in Laravel. He then shares how to customize your API, including how to load related data or subresources for a primary record, return nested data, and create a logging and rate limit middleware. He also explores how to use Behat to test your API and ensure that it works as expected.

Topics include:

  • Reviewing the basics of an API
  • Basic pieces of the Laravel framework
  • Reading, adding, editing, and deleting a record
  • API errors and exceptions
  • Transforming your API data
  • Returning nested and sideloaded data
  • Creating a logging middleware
  • Authenticating to your API
  • Basic and advanced endpoint testing
+ Table of Contents

1 Welcome
2 What you should know before watching this course
3 Using the exercise files

Laravel and API Basics
4 Reviewing the basics of an API
5 Installing Laravel
6 Connecting Laravel to a database
7 The basics of Laravel

8 Browsing records
9 Reading a record
10 Adding a record
11 Editing a record
12 Deleting a record

API Errors and Exceptions
13 Producing a missing record error
14 Returning validation errors
15 How to process other errors

Beyond the BREAD API
16 Transform your API data
17 Beyond a simple BREAD API
18 Managing subresources

Extra Data for Your API
19 Returning nested data
20 Returning sideloaded data
21 Paginate the API
22 Return a file to download
23 Accepting file uploads

Middleware on Your API
24 What is middleware
25 Creating a logging middleware
26 Creating a rate limit middleware

Authenticating to Your API
27 Token authentication
28 Basic authentication
29 OAuth2 – The basics
30 OAuth2 – Setup and installation
31 OAuth2 – Creating and setting tokens

32 Setting up Behat
33 Basic endpoint testing
34 Advanced endpoint testing

35 Next steps

Download from DepFile

Download from Turbobit

Download from DepositFiles

Download from Rapidgator