With this package, you can create a Telegram bot to receive notifications from GitHub or GitLab events and manage customization through messages and buttons on Telegram.
- Send notifications of your GitHub/GitLab repositories to Telegram Bots, Groups, Super Groups (Multiple Topics), and Channels.
- The bot must be created using the BotFather
- PHP ^8.1
- Composer
- Core: Telegram Git Notifier
First, please clone and install this project via Composer:
composer require cslant/laravel-telegram-git-notifierPublication of configuration files:
php artisan vendor:publish --provider="CSlant\LaravelTelegramGitNotifier\Providers\TelegramGitNotifierServiceProvider" --tag="config_jsons"If you are using Linux, you need to change the owner of the configuration files to the web server user and group (e.g. www-data).
The configuration files will be used to store the bot's settings and other information, so you need to change the owner of the configuration files to the web server user and group.
sudo php artisan config-json:change-owner www-data www-dataNote:
www-datais the user and group of the web server, you can change it to your own user and group.- The first
www-datais the user, and the secondwww-datais the group. (You can also use only the firstwww-datato represent both the user and the group)
...In construction...