This is a laravel demo app for using telegram-git-notifier package.
- PHP ^8.1
- Laravel ^9.0
- laravel-telegram-git-notifier ^1.0
git clone git@github.com:tanhongit/laravel-telegram-git-notifier-demo.gitcomposer installcp .env.example .envphp artisan key:generateTELEGRAM_BOT_TOKEN=your-telegram-bot-tokenTELEGRAM_BOT_CHAT_ID=your-telegram-chat-idTGN_APP_URL=your-github-webhook-urlFor 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-notifierTELEGRAM_NOTIFY_CHAT_IDS="your-chat-id-1;your-chat-id-2"