Lumen Micro Framework => php artisan key:generate

The Laravel command is fairly simple. It just generates a random 32 character long string. You can do the same in Lumen. Just temporarily add a route like this: $router->get(‘/key’, function() { return \Illuminate\Support\Str::random(32); }); Then go to /key in your browser and copy paste the key into your .env file. Afterwards remove the route. … Read more

Change Timezone in Lumen or Laravel 5

You can set your app time zone by configuring app.php file in config folder . To change time zone , modify the value of timezone in app.php file. This is written in this section |————————————————————————– | Application Timezone |————————————————————————– | | Here you may specify the default timezone for your application, which | will be … Read more