PHP code example of bfg / admin-notifications

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

    

bfg / admin-notifications example snippets


\Admin\Extend\AdminNotifications\Models\AdminNotification::message(
    int|AdminUser $user, string $title, string $text, string $link = null
);

php artisan admin:extension bfg/admin-puller --install

php artisan admin:extension bfg/admin-notifications --install

php artisan migrate