PHPackages                             depakespedro/laravel-auth-url - 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. depakespedro/laravel-auth-url

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

depakespedro/laravel-auth-url
=============================

One-time authorization by url link.

1.0(7y ago)19MITPHP

Since Oct 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/depakespedro/laravel-auth-url)[ Packagist](https://packagist.org/packages/depakespedro/laravel-auth-url)[ RSS](/packages/depakespedro-laravel-auth-url/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Пакет для разовой авторизации по ссылке
=======================================

[](#пакет-для-разовой-авторизации-по-ссылке)

**Установка**

Устанавливаем пакет

```
composer require depakespedro/laravel-auth-url

```

Добавляем сервис провайдер если требует того версия Laravel в `config/app.php`

```
Depakespedro\LaravelAuthUrl\Providers\AuthUrlServiceProvider::class

```

Публикуем конфиг

```
php artisan vendor:publish --provider='Depakespedro\LaravelAuthUrl\Providers\AuthUrlServiceProvider' --tag=config

```

Публикуем миграцию и накатываем ее

```
php artisan vendor:publish --provider='Depakespedro\LaravelAuthUrl\Providers\AuthUrlServiceProvider' --tag=migrations
php artisan migrate

```

Если требуются правки авторизации, то публикуем контроллер

```
php artisan vendor:publish --provider='Depakespedro\LaravelAuthUrl\Providers\AuthUrlServiceProvider' --tag=controller

```

**Использование**

Создаем запись в БД для регистрации хеш ключа авторизации c помощью фасада

```
use Depakespedro\LaravelAuthUrl\Facades\Manager;
$user = App\User::find(1);
$redirectSuccess = '/success';
$paramsQuery = ['foo' => 'bar'];
$authUrlModel = Manager::createUrl($user, $redirectSuccess, $paramsQuery);
```

Получаем экземпляр модели

```
Depakespedro\LaravelAuthUrl\Models\AuthUrl
```

Получаем ссылку для авторизации

```
$authUrl = $authUrlModel->getUrlAuth()
```

Ссылка имеем примерный вид

```
https://singleauth.dev/auth/url/%242y%2410%240e0U01balNAicGhVBvta0OhJnQDtFr6uEaoz.lVLx2RdmQjeSlE1a

```

При авторизации по ссылке `$authUrl` будем перенаправлены на роут вида

```
/success?foo=bar

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2766d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16132020?v=4)[Dmitriy](/maintainers/depakespedro)[@depakespedro](https://github.com/depakespedro)

---

Top Contributors

[![depakespedro](https://avatars.githubusercontent.com/u/16132020?v=4)](https://github.com/depakespedro "depakespedro (15 commits)")

### Embed Badge

![Health badge](/badges/depakespedro-laravel-auth-url/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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