Skip to content

Commit 0b061b0

Browse files
authored
Merge pull request #4 from supersonictw/v2.4.1
Update v2.4.1
2 parents 2d3ca99 + a5dbe66 commit 0b061b0

File tree

3 files changed

+893
-457
lines changed

3 files changed

+893
-457
lines changed

README.md

Lines changed: 31 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,58 @@
1-
line-bot-sdk-php-tiny
2-
==
3-
[![License](https://img.shields.io/badge/license-Apache--2.0-FF3333.svg)](LICENSE) [![Line](https://img.shields.io/badge/lineapi-v2-00DD77.svg)](https://developers.line.me) [![Version](https://img.shields.io/badge/version-2.3-00BBFF.svg)](https://github.com/supersonictw/line-bot-sdk-php-tiny) [![PHP](https://img.shields.io/badge/php-5.x-B94FFF.svg)](https://php.net)
1+
# line-bot-sdk-php-tiny
2+
3+
[![License](https://img.shields.io/badge/license-Apache--2.0-FF3333.svg)](LICENSE)
4+
[![Line](https://img.shields.io/badge/lineapi-v2-00DD77.svg)](https://developers.line.me)
5+
[![Version](https://img.shields.io/badge/version-2.4.1-00BBFF.svg)](https://git.io/Jfvrg)
6+
[![PHP](https://img.shields.io/badge/php->=5.4-B94FFF.svg)](https://php.net)
47

58
[![LINE](https://lineofficial.blogimg.jp/tw/imgs/2/2/22f62401.png)](https://line.me)
69

7-
A simple SDK for the LINE Messaging API for PHP.
10+
A simple SDK for the LINE Messaging API with PHP.
811

9-
Description
10-
--
12+
## Description
1113

12-
The origin version is [line-bot-sdk-tiny](https://github.com/line/line-bot-sdk-php/tree/master/line-bot-sdk-tiny) by LINE Corp.
14+
This is a third party SDK for LINE Messaging API that extended more functions from [line-bot-sdk-tiny](https://git.io/JUUXz).
1315

14-
The version of LINE Messaging API by [SuperSonic](https://randychen.tk) as Third Party Update to support more LINE features.
16+
As <https://github.com/line/line-bot-sdk-php/issues/163> said, the original version which is created by [LINE Corporation](https://linecorp.com) has no plan to update, so that I created this one.
1517

16-
The API has only a "api.php" file to include into your LINEBOT.
18+
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 he only wants to make a "Simple" BOT.
1719

18-
I think that it don`t need full API if someone wants to make a "Simple" BOT.
20+
If you want the official LINE Messaging API for `PHP 7.x`, go to [line-bot-sdk-php](https://github.com/line/line-bot-sdk-php) for getting the full version.
1921

20-
By the way, as a file, you can carry your BOT to anywhere you want.
22+
## Note
2123

22-
If you want official PHP LINEAPI, see [line-bot-sdk-php](https://github.com/line/line-bot-sdk-php) to get full version.
24+
It's using the function "file_get_contents()" as its HTTP Client for connecting to LINE API Platform.
2325

24-
Notice
25-
--
26-
The API uses "file_get_contents()" as HttpClient.
26+
As the result, it might be crashed by SELinux.
2727

28-
So it maybe will be crashed by SELinux.
28+
There are some solutions for resolving this problem:
2929

30-
There are some solutions:
3130
+ Disable SELinux
3231
+ Add SELinux Policy
3332
+ To use [line-bot-sdk-php](https://github.com/line/line-bot-sdk-php)
3433

35-
Example
36-
--
34+
## Example
3735

38-
Try to read [examples](./examples/).
36+
Try to read and learn from [examples](./examples/) for understanding how to create a BOT with this API.
3937

40-
When running examples, make sure that you have set your Channel access token and Channel secret.
38+
Before running the examples, please make sure that you have setted the Channel access token and Channel secret of your BOT.
4139

42-
Requirements
43-
--
40+
## Requirement
4441

4542
PHP >= 5.4
4643

47-
License
48-
--
44+
## License
4945

50-
```
51-
Copyright 2016 LINE Corporation
46+
Copyright 2016 LINE Corporation
5247

53-
LINE Corporation licenses this file to you under the Apache License,
54-
version 2.0 (the "License"); you may not use this file except in compliance
55-
with the License. You may obtain a copy of the License at:
48+
LINE Corporation licenses this file to you under the Apache License,
49+
version 2.0 (the "License"); you may not use this file except in compliance
50+
with the License. You may obtain a copy of the License at:
5651

57-
https://www.apache.org/licenses/LICENSE-2.0
52+
https://www.apache.org/licenses/LICENSE-2.0
5853

59-
Unless required by applicable law or agreed to in writing, software
60-
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
61-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
62-
License for the specific language governing permissions and limitations
63-
under the License.
64-
```
54+
Unless required by applicable law or agreed to in writing, software
55+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
56+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
57+
License for the specific language governing permissions and limitations
58+
under the License.

0 commit comments

Comments
 (0)