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. As such, sessions and views are no longer included with the framework. If you need access to these features, you should use the full Laravel framework. Upgrading your Lumen application to the full Laravel framework mainly involves copying your routes and classes over into a fresh installation of Laravel. Since Laravel and Lumen share many of the same components, your classes should not require any modification.
Because sessions are no longer included with Lumen, authentication must be done statelessly using API tokens or headers. You have complete control over the authentication process in the new AuthServiceProvider. Please review the authentication documentation for more information.
Since session and views are no longer included with Lumen, all of the form interaction testing helpers have been removed. The testing helpers for JSON APIs remain, so be sure to review the testing documentation.
For more details check out the official documentation.
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
Stormpath – User Authentication for Laravel (sponsor)
Stormpath is a complete identity API with powerful authentication, authorization, and user management for any applica…
Laracon EU Tickets on Sale
Laracon EU in Amsterdam has launched their 2016 site and tickets are now available. The dates for this year’s e…