dev-master
9999999-dev http://dbwebb.se/Flash class using sessions
MIT
The Requires
- php >=5.4
messages information flash lova
Wallogit.com
2017 © Pedro PelĂĄez
Flash class using sessions
How to use, (*1)
1.Download, (*2)
The easiest way is to install the module using composer. Add to your composer.json:, (*3)
"require": {
"lova/flashingmessage": "dev-master"
},
And then run composer install., (*4)
You can also download the zip file from here., (*5)
2.Include it in your project., (*6)
To include flashingmessage in your project add the class in your frontcontroller:, (*7)
$di->setShared('flash', function() {
$flash = new \lova\flashingmessage\flashingmessage();
return $flash;
});
Here's an example of how to use add a message:, (*8)
$app->flash->message('success', 'This message tells you your action was succesful');
This software is free software and carries a MIT license., (*9)
Flash class using sessions
MIT
messages information flash lova