https://github.com/pr0ph0z/nyetbot
LINE Messaging API SDK Lite for PHP.
https://github.com/pr0ph0z/nyetbot
bot chat line php
Last synced: 4 months ago
JSON representation
LINE Messaging API SDK Lite for PHP.
- Host: GitHub
- URL: https://github.com/pr0ph0z/nyetbot
- Owner: pr0ph0z
- License: mit
- Created: 2018-11-15T14:56:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T02:41:07.000Z (over 7 years ago)
- Last Synced: 2025-12-14T18:56:06.245Z (7 months ago)
- Topics: bot, chat, line, php
- Language: PHP
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nyetbot  [](https://travis-ci.com/pr0ph0z/nyetbot)  
LINE Messaging API SDK Lite for PHP.
----------
## Installation
### Using Composer
```sh
composer require pr0ph0z/nyetbot
```
then
```sh
composer install
```
#### Application Key
The next thing you should do after installing packages is set your application key that is needed for the bot.
You can rename the .env.example to .env or copy the .env.example then rename it to .env.
##### Keys
As by the 0.0.1 version, there's 3 key in .env file.
```
LINE_CHANNEL_ACCESS_TOKEN=
LINE_CHANNEL_SECRET=
LINE_TEST_ID=
```
You can obtain the Lchannel access token and channel secret from your [Line Developers page] (https://developers.line.me/console/).
LINE_TEST_ID is optional. You can fill it with your line ID if you want to do a test and the test result will be sended to your line account.
## Examples
All examples can be found [here](https://github.com/pr0ph0z/nyetbot/tree/dev/examples)
## Contribute
Contributing are welcome. Just clone this repo, and make a pull request.