1. Go to this page and download the library: Download andheiberg/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/ */
Notify::info('This is an info message.');
Notify::error('Whoops, something has gone wrong.');
Notify::success('auth.login-successful'); // Calls Lang::get('auth.login-successful') behind the scene
Notify::warning('auth.verification-email-sent', ['email' => '[email protected]']) // You can also pass replacements
@foreach (Notify::all() as $notification)
{{ $notification }}
@endforeach