PHP code example of jantinnerezo / livewire-alert

1. Go to this page and download the library: Download jantinnerezo/livewire-alert 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/ */

    

jantinnerezo / livewire-alert example snippets

 bash
php artisan vendor:publish --tag=livewire-alert:config
 php
use Jantinnerezo\LivewireAlert\Facades\LivewireAlert;

public function save()
{
    LivewireAlert::title('Changes saved!')
        ->success()
        ->show();
}