PHP code example of hanxiaoqingcheng / warning

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

    

hanxiaoqingcheng / warning example snippets


event(new Sy\Warning\Events\MsgPublishEvent( $tplValue));

event(new Sy\Warning\Events\MsgPublishEvent( $tplValue, $custom, $product, $uid, $username, $warningName));
bash
php artisan vendor:publish
bash
php artisan cache:clear
bash
php artisan migrate