Registry / messaging / linecorp-line-bot-sdk

linecorp-line-bot-sdk

JSON →
library12.5.0phppackagistunverified

SDK of the LINE BOT API for PHP

composer require linecorp/line-bot-sdk
INSTALL
IMPORT
SIG · LINECORP-LINE-BOT-
L
linecorp-line-bot-sdk
messagingphpv12.5.0
harness data pending
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!');
Debug
Known issues
breakingRequires PHP 7.4 or higher; older versions are not supported.
fix
Upgrade PHP to 7.4+ or use an older SDK version.
affects: >=12.0.0
Upgrade
Version history
12.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
linecorp-line-bot-sdk — pip install linecorp-line-bot-sdk · libregistry