Laravel: Middleware Development Training Course

Overview

Laravel is an open source PHP framework for modular packaging, dependency management, and application deployment and maintenance. Building RESTful APIs in Laravel allows for applications to orient designs to resources and provide standard responses whether it be HTTP status codes and/or Hypermedia links.

This instructor-led, live training (online or onsite) is aimed at web developers who wish to build middleware and web services in Laravel.

By the end of this training, participants will be able to:

  • Use Laravel PHP Aritisan to generate code and components.
  • Build RESTful APIs in Laravel that can browse, read, edit, add, and delete.
  • Filter and sort results based on URL parameters using RESTful APIs.

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.

Requirements

  • An understanding of object oriented programming
  • Laravel and PHP experience

Audience

  • Web Developers

Course Outline

Introduction

Laravel and PHP Overview

  • Modularity, routing, configuration management, and ORM
  • Composer and Artisan

Preparing the Development Environment

  • Installing Composer
  • Installing Vagrant
  • Installing GitHub Shell
  • Installing Postman

RESTful APIs and Laravel

  • Creating components
  • Implementing RESful API models
  • Creating a database structure
  • Using database seeding
  • Browsing records
  • Reading records
  • Editing records
  • Adding records
  • Deleting records
  • Transforming API data
  • Managing subresources
  • Returning nested data
  • Returning sideloaded data
  • Paginating API

API Errors and Exceptions

  • Generating a missing record error
  • Returning validation errors
  • Processing errors

Middleware Handler

  • Building a middleware for logging
  • Building a middleware for rate limiting

Authentication

  • Working with token authentication
  • Using OAuth for creating tokens

API Testing and Troubleshooting

  • Setting up Postman
  • Using endpoint testing

Summary and Conclusion

Leave a Reply

Your email address will not be published. Required fields are marked *