How installing blade template in Microframework Lumen?

Solution:

It’s installed by default.

$app->get('/', function () use ($app) {
    return $app->make('view')->make('welcome');
});

Make a file /resources/views/welcome.blade.php to see it works.


UPDATE

In Lumen 5.5, you can do this:

$router->get('/', function () use ($router) {
    return $router->app->make('view')->make('welcome');
});