Get in Touch

Course Outline

Introduction

  • Overview of Lumen features and architecture
  • Core 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 via controllers
  • Creating routes for CRUD operations
  • Standardizing responses

Implementing Microservice Functions

  • Displaying the list of microservice Authors
  • Creating new Author instances
  • Locating an Author by a given ID
  • Editing an existing Author
  • Removing an Author from a microservice

Implementing Gateway Functions

  • Setting up a project for the API Gateway using Composer
  • Retrieving the list of Authors through Gateway controllers
  • Creating Authors using Gateway controllers and services
  • Viewing, editing, and deleting Author instances
  • Executing operations via microservices
  • Managing Gateway errors

Securing the Microservice Architecture

  • Enabling Lumen Passport components
  • Configuring Lumen to utilize Passport
  • Securing Gateway routes
  • Utilizing access tokens for the 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 through access tokens

Troubleshooting Tips and Best Practices

Summary and Next Steps

Requirements

  • Experience with PHP programming.

Target Audience

  • Developers
 14 Hours

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories