line-bot-sdk-php-tiny
A simple SDK for the LINE Messaging API with PHP.
Description
This is a third party SDK for LINE Messaging API that extended more functions from line-bot-sdk-tiny.
As line/line-bot-sdk-php#163 said, the original version which is created by LINE Corporation has no plan to update, so that I created this one.
There is only an api.php
file for you to include it into your LINE Messaging BOT as easy for someone who don't need the full API if the one only wants to make a "Simple" BOT.
If you want the official LINE Messaging API for PHP 7.x
, go to line-bot-sdk-php for getting the full version.
Note
It's using the function "file_get_contents()" as its HTTP Client for connecting to LINE API Platform.
As the result, it might be crashed by SELinux.
There are some solutions for resolving this problem:
- Disable SELinux
- Add SELinux Policy
- To use line-bot-sdk-php
Example
Try to read and learn from examples for understanding how to create a BOT with this API.
Before running the examples, please make sure that you have set the Channel access token and Channel secret of your BOT.
API Reference
The documentation is generated automatically by PHPDoc.
Requirement
PHP >= 5.4
License
Copyright 2016 LINE Corporation
LINE Corporation licenses this file to you under the Apache License,
version 2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at:
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.