This is a package for returning messages when you aren't dealing with sessions. For example when you're using Laravel to return only API responses.
composer require gerob/alert:dev-master
'Gerob\Alert\AlertServiceProvider'
'Alert' => 'Gerob\Alert\Facades\Alert'
Enjoy and feel free to make PR or open issues if you want to improve the package.