sarahman/lumen-flash-message
Easy Flash Messages for Your Lumen App
This composer package offers a Twitter Bootstrap optimized flash messaging setup for your Lumen applications.
This package is highly dependent on laracasts/flash package created by Jeffrey Way.
Installation
- Begin by pulling in the package through Composer.
composer require sarahman/lumen-flash-message
-
Next, for Lumen, you need to create a config directory in the project root directory, copy the
session.phpfrom Laravel's config folder to the created config folder. -
Next, for Lumen, you need to register the Service Provider within your
bootstrap/app.phpfile.
.....
$app->register('Sarahman\Flash\FlashServiceProvider');
.....
For More Documentation
For more information about how to use this package, you can check laracasts/flash package link.
Done! Hope, you'll be able to see flash messages after using this package.