DEV Community

Discussion on: How do I tie Laravel and Lumen together?

Collapse
 
achoarnold profile image
Arnold Acho

I think many things will depend on the specifics of the App.

TO understand you better, You want to build say 2 microservices where 1 serves as an API where the other service just consumes data from the API

Now you can implement a use the Implement the JSON Web Token authentication as another User above mentioned.

So the Lumen App will be the server which generates the token while the laravel app will use the token generated by the Lumen app to perform it's authentication.