Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
CurlHTTPClient
✓ use LINE\LINEBot\HTTPClient\CurlHTTPClient;
Initializes the LINE Bot client and sends a reply message
<?php
require_once 'vendor/autoload.php';
use LINE\LINEBot\HTTPClient\CurlHTTPClient;
use LINE\LINEBot;
$httpClient = new CurlHTTPClient('your-channel-access-token');
$bot = new LINEBot($httpClient, ['channelSecret' => 'your-channel-secret']);
$response = $bot->replyText('reply-token', 'Hello!');
Upgrade
Version history
12.5.0latest on Packagist
Audit
Dependencies
No dependency data recorded yet.