LaraBale is laravel package for working with bale bot api.
Package is in early development and it's not production ready yet. Please wait for future releases. I also would greatly appreciate it if you kindly give me some feedback on this package.
- install with composer:
composer require alirezarazavi/larabale
- get your bot token (https://devbale.ir) and copy inside your project .env file:
BALE_BOT_TOKEN={YOUR-BOT-API-TOKEN}
- (optional) publish config file:
php artisan vendor:publish --tag=bale-config
A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object:
Bale::getMe();
The LaraBale is open-sourced software licensed under the MIT license.