micro-spaceless / telegram-bot
Telegram Bot Package for Laravel 7.x
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/micro-spaceless/telegram-bot
Requires
- php: ^7.4
- illuminate/support: ^8.83
This package is auto-updated.
Last update: 2025-11-07 20:51:15 UTC
README
Table of Contents
Installation
Install this package through Composer.
Edit your project's composer.json file to require micro-spaceless/telegram-bot
Create composer.json file:
{
"name": "yourproject/yourproject",
"type": "project",
"require": {
"micro-spaceless/telegram-bot": "^1.0"
}
}
And run composer update
Or run a command in your command line:
composer require micro-spaceless/telegram-bot
Copy the package config and migrations to your project with the publish command:
php artisan vendor:publish --provider="MicroSpaceless\TelegramBot\Providers\BaseServiceProvider"
In Laravel find the providers key in your config/app.php and register the Base Service Provider.
'providers' => [ // ... 'MicroSpaceless\TelegramBot\Providers\BaseServiceProvider', ]
Find the aliases key in your config/app.php and add the Telegram facade alias.
'aliases' => [ // ... 'Telegram' => 'MicroSpaceless\TelegramBot\Telegram', ]
Usage
$telegram = new Telegram(); $telegram->sendMessage('Hi!');
Security
If you discover any security related issues, please email ed.arm.2000@gmail.com instead of using the issue tracker.