tanhongit / laravel-telegram-git-notifier-demo
The skeleton application for the Laravel framework.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
Requires
- php: ^8.1
- cslant/laravel-telegram-git-notifier: ^1.0
- guzzlehttp/guzzle: ^7.2
- laravel/framework: ^10.10
- laravel/sanctum: ^3.3
- laravel/tinker: ^2.8
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/pint: ^1.0
- laravel/sail: ^1.18
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^7.0
- phpunit/phpunit: ^10.1
- spatie/laravel-ignition: ^2.0
This package is auto-updated.
Last update: 2024-12-10 01:28:00 UTC
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"