1. Go to this page and download the library: Download ljguo-latex/dingtalk-robot 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/ */
ljguo-latex / dingtalk-robot example snippets
use DingTalk\Robot;
$robot = new Robot('ACCESS_TOKEN', 'SECRET'); // SECRET 可省略(不启用加签)