PHP code example of lbreda / livewire3-notify

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

    

lbreda / livewire3-notify example snippets


#[On('test')]
public function test(): void
{
    $this->dispatch('notify', status: 'error', title: 'Error', text: 'Send halp');
}
bash
 php artisan vendor:publish --provider 'LBreda\Livewire3Notify\Providers\SimpleNotifyServiceProvider'