Laravel lumen Tricks

Browse latest tricks and tips on Laravel lumen.

Call to a member function connection() on null Laravel Lumen

Enabling Eloquent in LumenBy defaults Eloquent is not enabled in Lumen, To use Eloquent functions un-comment $app->withEloquent(); line from your bootstrap/app.php file. ...
published on : 3 hours ago 12 Comments

Generating application key in Lumen

Lumen generate keyTo generate application key in Lumen, please add your routes/web.php and point your domain to /key and copy the output string and paste it in your .env file$app-& ...
published on : 2 hours ago 12 Comments