PHP code example of zf-hipsters / bootstrap-flash-messenger
1. Go to this page and download the library: Download zf-hipsters/bootstrap-flash-messenger library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zf-hipsters / bootstrap-flash-messenger example snippets
"zf-hipsters/bootstrap-flash-messenger": ">=1.0"
$this->fm('You have been logged in.');
return $this->redirect()->toRoute('dashboard');
$this->fm('Your username and/or password were incorrect.', 'error');
return $this->redirect()->toRoute('authorize/login');