https://github.com/flagrow/telegram
Telegram login and notifications for Flarum
https://github.com/flagrow/telegram
Last synced: 6 months ago
JSON representation
Telegram login and notifications for Flarum
- Host: GitHub
- URL: https://github.com/flagrow/telegram
- Owner: flagrow
- License: mit
- Archived: true
- Created: 2018-02-09T00:59:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-10T16:53:09.000Z (over 6 years ago)
- Last Synced: 2024-05-27T20:48:45.824Z (about 2 years ago)
- Language: PHP
- Homepage: https://discuss.flarum.org/d/9033-telegram-login-and-notifications-by-flagrow
- Size: 38.1 KB
- Stars: 12
- Watchers: 5
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Telegram login and notifications by  [Flagrow](https://discuss.flarum.org/d/1832-flagrow-extension-developer-group), a project of [Gravure](https://gravure.io/)
[](https://github.com/flagrow/telegram/blob/master/LICENSE.md) [](https://packagist.org/packages/flagrow/telegram) [](https://packagist.org/packages/flagrow/telegram) [](https://www.patreon.com/flagrow) [](https://flagrow.io/join-discord)
This extension adds a "Log in with Telegram" button that uses the new [Telegram Login widget](https://telegram.org/blog/login) and add an option to receive notifications via Telegram as well.
## Installation
Use [Bazaar](https://discuss.flarum.org/d/5151-flagrow-bazaar-the-extension-marketplace) or install manually:
```bash
composer require flagrow/telegram
```
## Updating
```bash
composer update flagrow/telegram
php flarum migrate
php flarum cache:clear
```
## Configuration
Follow [Telegram instructions](https://core.telegram.org/widgets/login#setting-up-a-bot) to create a bot for the login widget.
Then copy the **Bot Username** and **Bot Token** to the extension settings. The username and token must belong to the same bot.
If you check **Enable Notifications**, the login widget will ask for permission for the bot to message the user and an additional Telegram column will appear in the user's notification settings.
## Support our work
We prefer to keep our work available to everyone.
In order to do so we rely on voluntary contributions on [Patreon](https://www.patreon.com/flagrow).
## Security
If you discover a security vulnerability within Telegram login and notifications, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed.
Please include as many details as possible. You can use `php flarum info` to get the PHP, Flarum and extension versions installed.
## Links
- [Flarum Discuss post](https://discuss.flarum.org/d/9033-telegram-login-and-notifications-by-flagrow)
- [Source code on GitHub](https://github.com/flagrow/telegram)
- [Report an issue](https://github.com/flagrow/telegram/issues)
- [Download via Packagist](https://packagist.org/packages/flagrow/telegram)
An extension by [Flagrow](https://flagrow.io/), a project of [Gravure](https://gravure.io/).