Get in Touch

Course Outline

Introduction

  • Overview of Lumen features and architecture
  • Basic concepts and components

Getting Started

  • Installing Lumen
  • Defining route parameters
  • Setting up middleware
  • Configuring controllers
  • Handling HTTP requests and responses

Creating Microservices

  • Building the authors' model
  • Generating test data
  • Managing authors using controllers
  • Creating routes for CRUD operations
  • Standardising responses

Implementing Microservices Functions

  • Displaying the list of microservices authors
  • Creating new author instances
  • Identifying an author by a given ID
  • Editing an existing author
  • Removing an author from a microservice

Implementing Gateway Functions

  • Setting up a project for API Gateway using Composer
  • Retrieving the list of authors via Gateway controllers
  • Creating authors using Gateway controllers and services
  • Displaying, editing, and deleting author instances
  • Performing operations using microservices
  • Handling Gateway errors

Securing Microservices Architecture

  • Enabling Lumen Passport components
  • Configuring Lumen to use Passport
  • Protecting Gateway routes
  • Using access tokens for API Gateway
  • Authenticating API Gateway requests
  • Restricting direct access to the author service

Managing Users and Access Tokens

  • Migrating users from Laravel
  • Creating controllers and routes for user management
  • Refining details for user operations
  • Creating users and using their credentials to obtain tokens
  • Identifying authenticated users via access tokens

Troubleshooting Tips and Best Practices

Summary and Next Steps

Requirements

  • Experience with PHP programming.

Audience

  • Developers
 14 Hours

Number of participants


Price per participant

Testimonials (3)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories