PHPackages                             1abdulaziz/laravel-quick-login - 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. 1abdulaziz/laravel-quick-login

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

1abdulaziz/laravel-quick-login
==============================

A Laravel package for quick one-time login links.

1.0.2(11mo ago)03MITPHPPHP ^8.1

Since May 12Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/1abdulaziz/laravel_quick_login)[ Packagist](https://packagist.org/packages/1abdulaziz/laravel-quick-login)[ RSS](/packages/1abdulaziz-laravel-quick-login/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Laravel Quick Login
===================

[](#laravel-quick-login)

A simple Laravel package that allows users to log in using a **one-time token** — no database table needed. Tokens are stored in cache and expire after a short time.

📦 Installation
--------------

[](#-installation)

```
composer require 1abdulaziz/laravel-quick-login
```

⚙️ Setup
--------

[](#️-setup)

Add this route to your `routes/web.php`:

```
use Illuminate\Http\Request;
use LaravelQuickLogin\OneTimeLoginService;

Route::get('/login/token/{token}', function (Request $request, string $token, OneTimeLoginService $service) {
    $user = $service->loginWithToken($token);

    return $user
        ? redirect('/')->with('status', 'Logged in successfully.')
        : redirect('/login')->withErrors(['token' => 'Invalid or expired token.']);
})->name('login.via.token');
```

🧪 Usage Artisan
---------------

[](#-usage-artisan)

You can generate a one-time login link via Artisan:

```
php artisan uli 12 --minutes=5
```

🚀 Usage Tinker
--------------

[](#-usage-tinker)

You can generate login URLs like this:

```
use LaravelQuickLogin\OneTimeLoginService;

$service = app(OneTimeLoginService::class);
$url = $service->generateLoginUrl($userId); // valid for 2 minutes by default
```

Or customize expiration time:

```
$url = $service->generateLoginUrl($userId, 10); // 10 minutes
```

🔐 Security
----------

[](#-security)

- Token is **deleted after first use**
- Token expires quickly (default: 2 minutes)
- Use **HTTPS** in production

---

Made with ❤️ by \[Abdulaziz zaid\]

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance50

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Every ~7 days

Total

3

Last Release

351d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f41d3cce5937cf48031d9b228b165c826390d9fb20215e06d1cefbb8d959645?d=identicon)[abdulaziz96](/maintainers/abdulaziz96)

---

Top Contributors

[![1abdulaziz](https://avatars.githubusercontent.com/u/28972162?v=4)](https://github.com/1abdulaziz "1abdulaziz (4 commits)")

### Embed Badge

![Health badge](/badges/1abdulaziz-laravel-quick-login/health.svg)

```
[![Health](https://phpackages.com/badges/1abdulaziz-laravel-quick-login/health.svg)](https://phpackages.com/packages/1abdulaziz-laravel-quick-login)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)

PHPackages © 2026

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