1. Go to this page and download the library: Download mascame/notify 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/ */
mascame / notify example snippets
// the Service Provider
'Mascame\Notify\NotifyServiceProvider'
// the alias
'Notify' => '\Mascame\Notify\Notify'
// this will autohide and get the default values for icon and dismissable
public function logout()
{
Auth::logout();
Notify::success('Successfuly logged out!', true);
return Redirect::to('home');
}
sh
php artisan config:publish mascame/notify
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.