lartie / laravel-botan
Laravel Botan
Installs: 181
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/lartie/laravel-botan
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2025-10-26 01:38:10 UTC
README
Fork: https://github.com/botanio/sdk
Installation
Composer
composer require "lartie/laravel-botan:^1.0.0"
Configuration
BOTAN_TOKEN=YOUR_BOT_TOKEN
Service Provider
You must install this service provider.
// config/app.php 'providers' => [ ... LArtie\LaravelBotan\LaravelBotanServiceProvider::class, ... ];
This package also comes with a facade, which provides an easy way to call the the class.
// config/app.php 'aliases' => [ ... 'Botan' => LArtie\LaravelBotan\Facades\Botan::class, ... ];
Usage
Botan::track($message, 'Message');
Or
$result = Botan::shortenUrl($url, $userId);
License
The MIT License (MIT). Please see License File for more information.