1. Go to this page and download the library: Download lascyb/feishu-sdk-php 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/ */
lascyb / feishu-sdk-php example snippets
use feishu\Client;
use feishu\open_apis\im\v1\messages\MessagesCreateRequest;
$client = new Client($appId, $appSecret);
$response = $client->request(new MessagesCreateRequest(/* ... */));
$data = $response->data();