DEV Community

Integrating Laravel Passport in Your Lumen Project (with example)

Your reviews would be indeed appreciated as it is my first tech-write up.


Lumen, as we already know is a micro-framework by Laravel well suited for developing micro-services and APIs.

However, setting up Passport in Lumen for authentication has been a bit of a challenge for most developers as Passport doesn’t have an actual support for Lumen despite being built by the same developer of the Laravel framework, Taylor Otwell.

To fix this, Denis Mysenko helped with a workaround by developing β€˜lumen-passport’, a simple provider that makes Laravel passport work with Lumen.

I have detailed the process in a medium article and you can access it here: https://medium.com/@yomiomotoso/integrating-laravel-passport-in-your-lumen-project-with-example-1c2b8719c30

Top comments (0)