Laravel-telegram-bot
Project description goes here. This description is usually two to three lines long. It should give an overview of what the project is, eg technology used, philosophy of existence, what problem it is trying to solve, etc. If you need to write more than 3 lines of description, create subsections.
** NOTICE: ** put here a message that is very relevant to users of the project, if any.
✨
Features
Here you can place screenshots of the project. Also describe your features using a list:
- Easy integration;
- Few dependencies;
- Beautiful template-english with a nice
README
; - Great documentation and testing?
🚀
Getting started
Installation
You can install the package via composer:
composer require ccuffs/laravel-telegram-bot
Publish config and migrations:
php artisan vendor:publish --provider="CCUFFS\TelegramBot\TelegramBotServiceProvider"
Run the migrations:
php artisan migrate
Usage
$bot = new CCUFFS\TelegramBot();
echo $bot->echoPhrase('Hello, Spatie!');
Configuration
This is the contents of the published config file:
return [
];
Testing
composer test
curl -v -k -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data @message-with-text.json "http://localhost.dev/ccuffs/bot/telegram"
🤝
Contribute
Your help is most welcome regardless of form! Check out the CONTRIBUTING.md file for all ways you can contribute to the project. For example, suggest a new feature, report a problem/bug, submit a pull request, or simply use the project and comment your experience. You are encourage to participate as much as possible, but stay tuned to the code of conduct before making any interaction with other community members.
See the ROADMAP.md file for an idea of how the project should evolve.
🎫
License
This project is licensed under the MIT open-source license and is available for free.
🧬
Changelog
See all changes to this project in the CHANGELOG.md file.
🧪
Similar projects
Below is a list of interesting links and similar projects: