承接 lbiltech/laravel-telegram-git-notifier 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lbiltech/laravel-telegram-git-notifier

最新稳定版本:v1.2.0

Composer 安装命令:

composer require lbiltech/laravel-telegram-git-notifier

包简介

Send notification from Gitlab and GitHub events to Telegram

README 文档

README

Telegram GitHub/GitLab Notifier Laravel

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

📝 Introduction

Laravel Telegram Git Notifier is a Laravel package that allows you to 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

📋 Requirements

🔧 Installation

You can install this package via Composer:

composer require cslant/laravel-telegram-git-notifier

✨ What's New in v2.0

New Features

  • Webhook Security: VerifyWebhookSecret middleware with timing-safe hash_equals() comparison
  • Webhook Status Command: Check webhook status via php artisan tg-notifier:webhook:status
  • Deferrable Provider: Lazy-loaded service provider with singleton bindings for better performance
  • API Retry Logic: Exponential backoff for Telegram API rate limits (HTTP 429)
  • In-Memory Caching: Config files cached in memory with dirty flag
  • Clean Template Format: Simplified emoji usage (single emoji per event type)

Improvements

  • PHP 8.4+ support with readonly classes and properties
  • Full type safety with explicit return types and nullable params
  • match expressions instead of switch for cleaner code
  • PSR-3 LoggerInterface support

Available Artisan Commands

Command Description
tg-notifier:webhook:set Set the webhook URL for your Telegram bot
tg-notifier:webhook:status Check the current webhook status
tg-notifier:owner:config Change owner for config JSON files

🚀 Usage

See the Usage - Telegram git notifier Documentation for a list of usage.

Please check and update some configurations in the documentation.

📖 Official Documentation

Please see the Telegram Git Notifier Documentation for more information.

✨ Supported events

GitHub Events Available

  • Push

  • Issues

  • Issue Comment

  • Pull Request

  • Pull Request Review

  • Fork

  • Commit Comment

  • Deployment

  • Deployment Status

  • Fork

  • Workflow

  • Watch

    ... and more events can be seen in the all GitHub events available

GitLab Events Available

  • Push

  • Tag Push

  • Issue

  • Merge Request

  • Note

  • Pipeline

  • Wiki Page

  • Build

  • Deployment

  • Release

    ... and more events can be seen in the all GitLab events available

License

The MIT License (MIT). Please see License File for more information.

📦 Changelog

Please see CHANGELOG for more information on what has changed recently.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 39
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 39
  • Watchers: 3
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固