PHP code example of laraish / admin-notice

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

    

laraish / admin-notice example snippets


use Laraish\AdminNotice\AdminNotice;

AdminNotice::init();

AdminNotice::success('Task Completed!');

AdminNotice::success('Task Completed!', true);

AdminNotice::success('Task Completed!', true, 'your-unique-notice-id');