Skip to content

cslant/laravel-telegram-git-app

Repository files navigation

This is a laravel demo app for using telegram-git-notifier package.

Requirements

Installation

Clone the repository

git clone [email protected]: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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •