PHP code example of leantony / laravel-flash

1. Go to this page and download the library: Download leantony/laravel-flash 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/ */

    

leantony / laravel-flash example snippets


Leantony\Flash\Providers\ServiceProvider::class

php artisan vendor:publish --provider="Leantony\Flash\Providers\ServiceProvider" --tag="assets"

<--- toastr js --->
<script src="{{ asset('vendor/leantony/flash/js/flash.js') }}"></script>

@