tanhongit/laravel-telegram-git-notifier-demo
Composer 安装命令:
composer create-project tanhongit/laravel-telegram-git-notifier-demo
包简介
The skeleton application for the Laravel framework.
关键字:
README 文档
README
This is a laravel demo app for using telegram-git-notifier package.
Requirements
- PHP ^8.1
- Laravel ^9.0
- laravel-telegram-git-notifier ^1.0
Installation
Clone the repository
git clone git@github.com:tanhongit/laravel-telegram-git-notifier-demo.git
Composer install
composer install
Copy .env file
cp .env.example .env
Generate key
php artisan key:generate
Set your telegram bot token
TELEGRAM_BOT_TOKEN=your-telegram-bot-token
Set your telegram chat id
TELEGRAM_BOT_CHAT_ID=your-telegram-chat-id
Set your github webhook url
TGN_APP_URL=your-github-webhook-url
For this package, the webhook URL will be defined in config. So the default value will be http://localhost:8000/telegram-git-notifier
So you can set your webhook URL like this:
TGN_APP_URL=https://your-domain/telegram-git-notifier
Set chat ID or topic ID to notify
TELEGRAM_NOTIFY_CHAT_IDS="your-chat-id-1;your-chat-id-2"
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-27