Get in Touch

Course Outline

Introduction

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

Getting Started

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

Creating Microservices

  • Constructing the author model
  • Generating test data
  • Managing authors via controllers
  • Establishing routes for CRUD operations
  • Standardizing API responses

Implementing Microservice Functions

  • Retrieving the list of microservice authors
  • Creating new author instances
  • Locating an author by their ID
  • Updating an existing author
  • Deleting an author from the microservice

Implementing Gateway Functions

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

Securing Microservice 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
  • Developing controllers and routes for user management
  • Refining details for user operations
  • Creating users and obtaining tokens via their credentials
  • Identifying authenticated users through access tokens

Troubleshooting Tips and Best Practices

Summary and Next Steps

Requirements

  • Practical experience in PHP programming.

Audience

  • Software Developers
 14 Hours

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories