Building Microservices with Lumen PHP Framework Training Course

Last updated

Course Code

lumen

Duration

14 hours (usually 2 days including breaks)

Requirements

  • PHP programming experience.

Audience

  • Developers

Overview

Lumen is an open source microservices framework based on Laravel. It is used for building fast and high performing web applications and APIs with PHP microframeworks.

This instructor-led, live training (online or onsite) is aimed at developers who wish to use Lumen to build Laravel-based microservices and applications.

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

  • Set up the necessary development environment to start developing microservices with Lumen.
  • Understand the benefits of implementing microservices using Lumen and PHP.
  • Perform and implement the microservices functions and operations using the Lumen framework.
  • Protect and control access to the microservices architectures by building security layers.

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.

Course Outline

Introduction

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

Getting Started

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

Creating Microservices

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

Implementing Microservices Functions

  • Showing the list of microservices authors
  • Creating new author instances
  • Identifying an author with 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
  • Obtaining list of authors through Gateway controllers
  • Creating authors using Gateway controllers and services
  • Showing, 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 controller and routes for managing users
  • Refining details for user operations
  • Creating users and using their credentials to obtain tokens
  • Identifying authenticated users through access token

Troubleshooting Tips and Best Practices

Summary and Next Steps

Testimonials

★★★★★
★★★★★

Related Categories

Related Courses

Course Discounts

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.

Some of our clients

is growing fast!

We are looking to expand our presence in the US!

As a Business Development Manager you will:

  • expand business in the US
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

Apply now!

This site in other countries/regions