Download the PHP package narekmarkosyan/laravel-admin-telegram-two-factor without Composer
On this page you can find all versions of the php package narekmarkosyan/laravel-admin-telegram-two-factor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download narekmarkosyan/laravel-admin-telegram-two-factor
More information about narekmarkosyan/laravel-admin-telegram-two-factor
Files in narekmarkosyan/laravel-admin-telegram-two-factor
Package laravel-admin-telegram-two-factor
Short Description Add Telegram based two factor authentication to laravel-admin
License MIT
Homepage https://github.com/narekmarkosyan/laravel-admin-telegram-two-factor
Informations about the package laravel-admin-telegram-two-factor
Telegram two-factor authentication for laravel-admin
Inspired from https://github.com/shanerutter/laravel-admin-email-two-factor
Adds two-factor authentication to admin login, admin will be sent a message in Telegram with a 6-digit code to complete sign in.
Notes
A new "telegram_id" field is added to the database as laravel-admin does not have this by default. Once installed and migrations completed, you will need to set each user's telegram ID via the database. No way of doing it via UI has been implemented at this time.
Installation
Requires PHP 8.3 or newer and Laravel 11, 12, or 13. The package uses
narekmarkosyan/laravel-admin
v1.9.2 or newer, which retains the Encore\Admin Composer name and namespace.
Add the fork as a VCS repository in the consuming application's root
composer.json before installing this package. Composer does not inherit VCS
repositories from dependencies:
Laravel 11 is past its security support window and currently has advisories that may cause Composer to block installation. The Laravel 11 CI job disables advisory blocking only to verify API compatibility. Use Laravel 12 or 13 for deployments.
Migration
Add telegram_id field to admin users table.
Configuration
In the extensions section of the config/admin.php file, add configurations
In the .env file, add configurations
License
Licensed under The MIT License (MIT).
All versions of laravel-admin-telegram-two-factor with dependencies
laravel/framework Version ^11.0 || ^12.0 || ^13.0
encore/laravel-admin Version ^1.9.2