PHP code example of f1uder / laravel-notification
1. Go to this page and download the library: Download f1uder/laravel-notification 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/ */
f1uder / laravel-notification example snippets
return redirect('/')->notice('message text', 'alert');
return redirect()->route('home')->notice('message text', 'info');
$this->notice('message text', 'alert');
return redirect('/')->notice('message text', 'alert');
bash
php artisan vendor:publish --tag="laravel-notification"