PHP code example of skoyah / nova-toasted
1. Go to this page and download the library: Download skoyah/nova-toasted 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/ */
skoyah / nova-toasted example snippets
'toasts' => [
[
'name' => 'forbidden',
'message' => 'Sorry! You are not authorized.',
'options' => [
'type' => 'error',
'duration' => 2000,
],
],
],
shell
php artisan vendor:publish --tag=nova-toasted