When writing tests in Lumen, I recently discovered that the `route()` helper doesn’t work with tests out-of-the-box. I prefer to define named routes and make requests against them in my tests. In this post, learn how to bootstrap the request instance in order to use named routes in your Lumen tests.Read more…
Lumen 5.5 is now released and available for all. This is considered a maintenance release that upgrades the underlying packages to the Laravel 5.5 series. Before upgrading your application to Lumen 5.5, you should review the Laravel 5.5 upgrade guide and make any applicable changes to your application according to which Laravel components you are …
A couple of weeks ago the Lumen core team managed to fix an issue with the request object when being called in unit tests, before the fix the request appears to be empty and all input data were not present in unit tests. The problem was related to how Lumen is bootstrapped, simply put, the …
Lumen 5.3 is now released and available for all. This is considered a maintenance release that upgrades the underlying packages to the Laravel 5.3 series. Before upgrading your application to Lumen 5.3, you should review the Laravel 5.3 upgrade guide and make any applicable changes to your application according to which Laravel components you are …
Lumen 5.2.0 is now released! This release features the inclusion of Laravel 5.2 components and makes significant changes to its core philosophy. Any existing users of Lumen should take note of the following from the documentation: Only Stateless APIs Lumen 5.2 represents a shift on slimming Lumen to focus solely focusing serving stateless, JSON APIs. …
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 …
Lumen 5.1 is now released and available to all. This release features the recently released Laravel 5.1 components, a move to PSR-2, and various bug fixes and improvements. With the inclusion of Laravel 5.1 components, this also means Lumen receives event broadcasting, model factories, and the unit testing.Read more…
Mario Bašić has created a new tutorial on implementing Lumen with Fractal. If you are not familiar Fractal it is a package that provides a presentation and transformation layer for complex data output like found in RESTful APIs. One of the bonuses of using Fractal is that it supports the JSON-API specification. The tutorial goes …
Adam Patterson has a new tutorial out showing you how to use Lumen as a front-end to WordPress. At work I needed a fast and flexible way to present structured data that can be consumed by Python. This was done using WordPress leveraging Custom Post types and Advanced Custom Fields. Simply put. WordPress is the …
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Laravel / Vue.JS Developer - Join an amazing team!
- Mid / Sen. Software Engineer
- Remote PHP / Laravel Developer
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- Senior Laravel Developer
- PHP Developer
- Senior Laravel Developer (Canada and India)
London, Ontario, Canada
Factory Bucket Inc.