PHP code example of asundust / wechat-work-push

1. Go to this page and download the library: Download asundust/wechat-work-push 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/ */

    

asundust / wechat-work-push example snippets


'wechat-work-push' => [
    'enable' => true,
    // 'config_table' => 'wechat_work_push_configs', // 自定义配置表表名,可不填写,默认wechat_work_push_configs
    // 'user_table' => 'wechat_work_push_users', // 自定义用户表表名,可不填写,默认wechat_work_push_users
    // 'middleware' => 'web', // 自定义中间件组,可不填写,默认web
],

php artisan migrate

php artisan admin:import wechat-work-push