PHP code example of php127 / dingtalk
1. Go to this page and download the library: Download php127/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/ */
php127 / dingtalk example snippets
use EasyDingTalk\Application;
$config = [
'corp_id' => 'dingd3ir8195906jfo93',
'app_key' => 'dingwu33fo1fjc0fszad',
'app_secret' => 'RsuMFgEIY3jg5UMidkvwpzEobWjf9Fcu3oLqLyCUIgzULm54WcV7j9fi3fJlUshk',
];
$app = new Application($config);