Download the PHP package devaspid/laravel-simple-telegram without Composer
On this page you can find all versions of the php package devaspid/laravel-simple-telegram. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devaspid/laravel-simple-telegram
More information about devaspid/laravel-simple-telegram
Files in devaspid/laravel-simple-telegram
Package laravel-simple-telegram
Short Description Simple clean one-way Telegram notification package for Laravel
License MIT
Informations about the package laravel-simple-telegram
Laravel Simple Telegram
A lightweight and clean one-way Telegram notification package for Laravel. Designed to easily send notifications to Telegram groups, channels, or specific message topics.
Developed and maintained by Devaspid.
Requirements
- PHP
^8.2or^8.3 - Laravel
^11.0,^12.0, or^13.0
Installation
You can install the package via Composer:
The service provider and facade will automatically register themselves.
Configuration & Publishing Publish the configuration file using the vendor:publish Artisan command:
This will create a config/telegram.php file in your project:
Environment Variables
Add the following environment variables to your .env file:
Usage
You can use the Telegram facade to send notifications anywhere in your Laravel application.
1. Controller / Livewire Component
Send basic HTML-formatted messages or target specific Telegram topic threads:
2. Model Events (e.g., Boot Method)
Trigger Telegram notifications directly inside Eloquent model lifecycle hooks:
Testing
Run the test suite using PHPUnit:
License
This package is open-sourced software licensed under the MIT license.
Support the Project
If you find this project useful, consider giving it a ⭐ on GitHub.
Maintained with ❤️ by devASPId.
All versions of laravel-simple-telegram with dependencies
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0