Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 963 Bytes

README.md

File metadata and controls

39 lines (21 loc) · 963 Bytes

LaraBale

Laravel Bale Bot API

LaraBale is laravel package for working with bale bot api.

Notice:

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.

Installation

  1. install with composer:

composer require alirezarazavi/larabale

  1. get your bot token (https://devbale.ir) and copy inside your project .env file:

BALE_BOT_TOKEN={YOUR-BOT-API-TOKEN}

  1. (optional) publish config file:

php artisan vendor:publish --tag=bale-config

Usage

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();

Credits

Alireza Razavi (Contact me)

License

The LaraBale is open-sourced software licensed under the MIT license.