Get in Touch

Course Outline

Introduction

  • Overview of Lumen's features and architecture
  • Fundamental concepts and components

Getting Started

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

Creating Microservices

  • Developing the authors' model
  • Generating test data
  • Managing authors via controllers
  • Establishing routes for CRUD operations
  • Standardizing responses

Implementing Microservices Functions

  • Displaying the list of microservice authors
  • Creating new author instances
  • Locating an author by their ID
  • Modifying an existing author
  • Removing an author from the microservice

Implementing Gateway Functions

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

Securing the Microservices Architecture

  • Enabling Lumen Passport components
  • Configuring Lumen to utilize Passport
  • Safeguarding 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 utilizing 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.

Audience

  • Developers
 14 Hours

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories