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(1y ago)03MITPHPPHP ^8.1

Since May 12Pushed 1y 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 today

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

28

—

LowBetter than 52% of packages

Maintenance46

Moderate activity, may be stable

Popularity3

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

404d 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

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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