softok2 / telegram-notifications
Wrapper to handle telegram notifications
Fund package maintenance!
softok2
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/softok2/telegram-notifications
Requires
- php: ^8.3
- illuminate/contracts: ^11.0||^12.0
- laravel-notification-channels/telegram: ^6.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.14
- laravel/telescope: ^5.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
README
A Laravel wrapper to send notifications to Telegram. Build on top of Laravel Notification Channels / Telegram
Support us
Installation
You can install the package via composer:
composer require softok2/telegram-notifications
Publish the config file with:
php artisan vendor:publish --tag="telegram-notifications-config"
This is the contents of the published config file:
return [ 'bot_token' => env('SOFTOK2_TELEGRAM_BOT_TOKEN', 'Your bot token here'), 'chat_id' => env('SOFTOK2_TELEGRAM_CHAT_ID', 'Your chat ID here'), ];
Usage
\Softok2\TelegramNotification\Facades\TelegramNotification::sendException($exception)
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.