基于 Lumen 的微服务,可与 guzzle 一起部署,用于使用 API 和 OAuth 2
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.
暂无开放 Issues,或尚未同步最近议题。