PHP code example of rsmalc / laravel-noty

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

    

rsmalc / laravel-noty example snippets


'providers' => [
    RSmalc\Noty\NotyServiceProvider::class,
];

noty('Your message');

noty('Your message', 'alert'); // default 
noty('Your message', 'success');
noty('Your message', 'error');
noty('Your message', 'warning');
noty('Your message', 'information');

php artisan vendor:publish