/Microservices-with-Lumen

A Lumen based microservice ready to deploy with guzzle for consumption of api and OAuth 2

Primary LanguagePHP

Microservices with Lumen

This is a part of a huge project I was building for a client. In this small example I have effectively explained and work with almost all the features of microsurvices architecture.

The Main system is LumenApiGateway and the microservices are LumenAuthorApi & LumenBookApi. I am using guzzle for consuming api and dusterio/lumen-passport for security.

Also stopping direct access to the microservices, to access the microservies directly the client must pass some kind of token which is registered in the microservice.