PHP code example of proclame / laravel-notify-admin

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

    

proclame / laravel-notify-admin example snippets


return [
    'mail' => env('NOTIFY_ADMIN_MAIL'),
    'telegram' => env('NOTIFY_ADMIN_TELEGRAM'),
];

notify_admin(new InvoicePaid($invoice));
bash
php artisan vendor:publish --provider="Proclame\LaravelNotifyAdmin\NotifyAdminServiceProvider"