Questions tagged [lumen-5.2]

Lumen 5.2 uses the 5.2 family of Laravel components, as well as introduces some significant changes to Lumen's underlying philosophy and purpose. It has been released on 7th January 2016. Use it in addition to the [tag:lumen] tag in questions specific to Lumen 5.2.

Only Stateless APIs

Lumen 5.2 represents a shift on slimming Lumen to focus solely on 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.

Authentication

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.

Testing Helpers

Since sessions are no longer included with Lumen, all of the form interaction testing helpers have been removed. The testing helpers for JSON APIs remain.

From Lumen 5.2 Release Notes

92 questions
-3
votes
1 answer

Problems with Lumen 5.2

I recently installed Laravel 5.2 and i´ve been experiencing some problems loading css and js files from the project public folder. I have all my views on the resources folder and my asset files on the public folder, i tried installing html…
-5
votes
2 answers

php error and lumen error both showing on error output

How can I fix this issue in lumen framework? I am getting the PHP default errors and lumen framework exception both at the same time. Here I have attached the screenshot of both files. The output and the exception handler PHP file.
Dhaval Purohit
  • 1,270
  • 10
  • 28
1 2 3 4 5 6
7