Top "Lumen" questions

Lumen is a "micro-framework" built on top of Laravel's components, and is the official micro-framework of Laravel.

Sessions in token based authentication

I am building an app in PHP Lumen which returns a token upon login. I am not sure how to …

php jquery reactjs authorization lumen
Does task scheduling in Lumen work just like in Laravel?

You can see task scheduling explained in the latest docs for Laravel, but Lumen's docs do not mention this. However, …

laravel scheduled-tasks laravel-5.1 lumen
Auth guard driver [api] is not defined. Lumen, Dingo, JWTAuth

I am trying to develop a rest api using lumen. For authentication I am using Dingo and JWTAuth api, but …

jwt lumen dingo-api
Route Group in Lumen error Call to undefined method Laravel\Lumen\Application::group()

I have declared a route group in laravel/lumen like so: $app->group(['middleware' => 'auth'], function () use ($app) { $…

php laravel routing lumen lumen-5.2
Laravel Lumen - Eloquent Query Log

I'm using Laravel Lumen to build an API. I've come to a point where I need to find out what …

laravel lumen
Laravel | Unique validation where clause

I am trying to validate the input of a email address that exists but only when the company_id is …

mysql laravel api lumen
Custom 404 page in Lumen

I'm new to Lumen and want to create an app with this framework. Now I have the problem that if …

laravel lumen
Saving many-to-many relationship, sync/attach doesn't exist?

I have two following 2 models in many-to-many relationship : use Illuminate\Database\Eloquent\Model; class Permission extends Model { /** * The database table …

php laravel lumen
Lumen: how can I get url parameters from middleware

This is my routes.php: $app->get('/users/{id}/', ['middleware' => 'example', function () { return "users"; }]); This is …

php laravel lumen
laravel / lumen access .env values in middleware

Is there any way to access .env vals from inside of a middleware script? I have tried to do so …

php laravel lumen