1. Go to this page and download the library: Download wxiangqian/laravel-dingtalk 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/ */
wxiangqian / laravel-dingtalk example snippets
php artisan vendor:publish
则生成 config/dingtalk.php
$DingTalk = new DingTalk();
$message = new Message();
$data = $message->text('测试text类型');
$res = $DingTalk->send($token,$data);
echo $res;