Framework to create bot for LINE Messenger
Features:
- Installation Wizard
- Code Editor
- Emulator
- Modular Apps
- Web Server with PHP + mysqli + curl
- MySQL Server
Download these project files and put it in your web server folder. Open web page with your web browser. It will display installation wizard.
- Adders list
- Editor with sample apps
- Emulator
- Settings
- EchoBot
<?php
class EchoBot extends Line_Apps{
function on_follow(){
return "Hi!";
}
function on_message($text){
return "Echo: " . $text;
}
}
- Reverse
<?php
class Reverse extends Line_Apps{
function on_follow(){
return "Welcome {$this->profile->display_name}.\nThis bot will respond with reversed words.";
}
function on_message($text){
return strrev($text);
}
}
You can see other apps on Editor page