ng / flashmessage
Flash class using sessions, written for ANAX-MVC.
dev-master
2014-12-05 09:46 UTC
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2024-06-04 15:04:27 UTC
README
-
Download the ANAX-MVC framework (only 669,5 files).
https://github.com/mosbth/Anax-MVC -
Go to DIR Anax and add code to the composer.json file
"require": {
"ng/flashmessage": "dev-master"
},
- Run composer from the commando line. Be sure to choose right DIR or try several other strategies at the same time. Use commando
compose update --no-dev
compose install --no-dev
- Add flash service to Anax-mvc/webroot/index.php
$di->setShared('flash', function() {
$flash = new \ng\CFlashMessage\CFlashMessage();
return $flash;
});
4) Call a friend for more help