PHP code example of johanleroux / laravel-notify
1. Go to this page and download the library: Download johanleroux/laravel-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/ */
johanleroux / laravel-notify example snippets
notify()->flash('Welcome back!', 'success');
notify()->information('Welcome back!');
notify()->success('Profile updated!');
notify()->warning('Invalid Data!');
notify()->danger('User Deleted!');
@if (notify()->ready())
<div class="alert-box {{ notify()->type() }}">
{{ notify()->message() }}
</div>
@endif