Mario Bašić has a new tutorial out showing how to implement JSON Web Token Authentication in Lumen. To get this all setup Mario used the jwt-auth package and had to install a few extra dependencies.
What I find interesting is his experience with doing this same thing in Laravel:
… I cannot believe how much easier it was to create the same API (more advanced, with more API methods, more security, better validation) and in less time. Btw every error mentioned in this post was non existent on Laravel. It all went so smoothly and everything had just set in place.
That is pretty much my same experience. Lumen is great for small API’s or something that needs to be really performant. If there is even a slight chance your app will do more, go with Laravel.
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Software Engineer Lead (PHP)
- Full-time Senior Web Developer
Wayne State University
- Senior Software Engineer
- Full Stack Engineer
Remote or Medford, Oregon
- Laravel Developer (fulltime - Dutch only)
Qbixx | Webservices
- Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
- Senior Quality Assurance Engineer
Laravel Forge – New Features, New Design
Laravel Forge just launched a new design and added a new feature for provisioning and managing load balancers. The ne…
Token Authentication for Laravel and Angular
Ryan Chenkie writing for Scotch.io has a new in-depth tutorial on implementing Token-Based Authentication for Angular…