Skip to content

pxthinh/laravel-telegram-git-notify

 
 

Repository files navigation

Welcome to Telegram GitHub/GitLab Notifier 👋

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.

License Latest Version Total Downloads Test Status Code Style Status StyleCI Quality Score Maintainability

📝 Information

  • 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

📋 Requirements

🔧 Installation

First, please clone and install this project via Composer:

composer require cslant/laravel-telegram-git-notifier

Publication of configuration files:

php artisan vendor:publish --provider="CSlant\LaravelTelegramGitNotifier\Providers\TelegramGitNotifierServiceProvider" --tag="config_jsons"

Fixing Permissions (for Linux)

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-data

Note:

  • www-data is the user and group of the web server, you can change it to your own user and group.
  • The first www-data is the user, and the second www-data is the group. (You can also use only the first www-data to represent both the user and the group)

📖 Documentation

...In construction...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 64.7%
  • Blade 35.3%