PHPackages                             azate/laravel-telegram-login-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. azate/laravel-telegram-login-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

azate/laravel-telegram-login-auth
=================================

Laravel Telegram Login Auth

v2.5.0(1y ago)3718.1k↓30.8%14[1 issues](https://github.com/azate/laravel-telegram-login-auth/issues)[1 PRs](https://github.com/azate/laravel-telegram-login-auth/pulls)MITPHPPHP ^8

Since Mar 5Pushed 1y ago2 watchersCompare

[ Source](https://github.com/azate/laravel-telegram-login-auth)[ Packagist](https://packagist.org/packages/azate/laravel-telegram-login-auth)[ RSS](/packages/azate-laravel-telegram-login-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (11)Used By (0)

Telegram Login for Laravel
==========================

[](#telegram-login-for-laravel)

[![License](https://camo.githubusercontent.com/f44750d0652b508cf21ec17b625ea7baf8e566bece2b919d7cf75e3c9f1cef1d/68747470733a2f2f706f7365722e707567782e6f72672f617a6174652f6c61726176656c2d74656c656772616d2d6c6f67696e2d617574682f6c6963656e7365)](https://packagist.org/packages/azate/laravel-telegram-login-auth)[![Latest Stable Version](https://camo.githubusercontent.com/f66ba8a1cdf276c9c716df0cfff729b484a954ec086bffc589d744996300da7e/68747470733a2f2f706f7365722e707567782e6f72672f617a6174652f6c61726176656c2d74656c656772616d2d6c6f67696e2d617574682f762f737461626c65)](https://packagist.org/packages/azate/laravel-telegram-login-auth)[![Total Downloads](https://camo.githubusercontent.com/37dcf0369171a87a09de0f5f0a236e183882633f53af35b7b0a2c94ce0acba96/68747470733a2f2f706f7365722e707567782e6f72672f617a6174652f6c61726176656c2d74656c656772616d2d6c6f67696e2d617574682f646f776e6c6f616473)](https://packagist.org/packages/azate/laravel-telegram-login-auth)

This package is a Laravel service provider which provides support for Laravel Login and is very easy to integrate with any project that requires Telegram authentication.

Installation
------------

[](#installation)

Require this package with composer.

```
composer require azate/laravel-telegram-login-auth
```

Laravel &gt;=5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Copy the package config to your local config with the publish command:

```
php artisan vendor:publish --provider="Azate\LaravelTelegramLoginAuth\Providers\LaravelServiceProvider" --tag=config
```

Usage example
-------------

[](#usage-example)

Setup information [Telegram Login Widget](https://core.telegram.org/widgets/login)

### Not detailed errors

[](#not-detailed-errors)

```
// app/Http/Controllers/AuthController.php
namespace App\Http\Controllers;

// ...
use Azate\LaravelTelegramLoginAuth\TelegramLoginAuth;
use Illuminate\Http\Request;

// ...
public function handleTelegramCallback(TelegramLoginAuth $telegramLoginAuth, Request $request)
{
    if ($user = $telegramLoginAuth->validate($request)) {
        // ...
    }

    // ...
}
```

### With detailed errors

[](#with-detailed-errors)

```
// app/Http/Controllers/AuthController.php
namespace App\Http\Controllers;

// ...
use Azate\LaravelTelegramLoginAuth\Contracts\Telegram\NotAllRequiredAttributesException;
use Azate\LaravelTelegramLoginAuth\Contracts\Validation\Rules\ResponseOutdatedException;
use Azate\LaravelTelegramLoginAuth\Contracts\Validation\Rules\SignatureException;
use Azate\LaravelTelegramLoginAuth\TelegramLoginAuth;
use Illuminate\Http\Request;

// ...
public function handleTelegramCallback(TelegramLoginAuth $telegramLoginAuth, Request $request)
{
    try {
        $user = $telegramLoginAuth->validateWithError($request);
    } catch(NotAllRequiredAttributesException $e) {
        // ...
    } catch(SignatureException $e) {
        // ...
    } catch(ResponseOutdatedException $e) {
        // ...
    } catch(Exception $e) {
        // ...
    }

    // ...
}
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance45

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~287 days

Recently: every ~343 days

Total

10

Last Release

412d ago

Major Versions

v1.0.4 → v2.0.02020-11-20

PHP version history (6 changes)v1.0.0PHP &gt;=7.0.0

v1.0.3PHP ^7.0

v2.0.0PHP ^7.2.5

v2.1.0PHP ^7.2 || ^7.3 || ^7.4 || ^8

v2.2.0PHP ^7.3 || ^7.4 || ^8

v2.3.0PHP ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/58bb9712065339d2fd322499afae5cf4db3deb1cd8bd268c9116454694fbd01a?d=identicon)[mp6j8i](/maintainers/mp6j8i)

---

Top Contributors

[![hz61p1](https://avatars.githubusercontent.com/u/12779610?v=4)](https://github.com/hz61p1 "hz61p1 (12 commits)")[![4cc355-d3n13d](https://avatars.githubusercontent.com/u/630927?v=4)](https://github.com/4cc355-d3n13d "4cc355-d3n13d (2 commits)")[![Davidnadejdin](https://avatars.githubusercontent.com/u/40993387?v=4)](https://github.com/Davidnadejdin "Davidnadejdin (1 commits)")

---

Tags

authlaraveltelegramtelegram-loginlaravelauthtelegram

### Embed Badge

![Health badge](/badges/azate-laravel-telegram-login-auth/health.svg)

```
[![Health](https://phpackages.com/badges/azate-laravel-telegram-login-auth/health.svg)](https://phpackages.com/packages/azate-laravel-telegram-login-auth)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[jurager/teams

Laravel package to manage team functionality and operate with user permissions.

22817.3k](/packages/jurager-teams)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
