PHPackages                             harrisonclewis/laravel-passwordless - 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. harrisonclewis/laravel-passwordless

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

harrisonclewis/laravel-passwordless
===================================

Passwordless authentication for Laravel

v0.0.3(2w ago)114↓100%MITPHPPHP ^8.1

Since May 20Pushed 2w agoCompare

[ Source](https://github.com/harrisonclewis/laravel-passwordless)[ Packagist](https://packagist.org/packages/harrisonclewis/laravel-passwordless)[ Docs](https://github.com/harrisonclewis/laravel-passwordless)[ RSS](/packages/harrisonclewis-laravel-passwordless/feed)WikiDiscussions main Synced 1w ago

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

 [![Laravel Passwordless](banner.png)](banner.png)

Introduction
============

[](#introduction)

Passwordless authentication for Laravel. No passwords, no hassle. Users enter their email and receive a one-time login link.

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

[](#installation)

### Migrate an existing app

[](#migrate-an-existing-app)

If you are replacing an existing Laravel auth flow, use the included [`PROMPT.md`](PROMPT.md) with your AI coding agent. It gives the agent package-specific instructions for installing this package, updating your auth UI, removing old password routes, preserving redirects and middleware, and verifying the magic-link flow.

Copy the contents of [`PROMPT.md`](PROMPT.md) into your AI coding agent.

### Install Package

[](#install-package)

```
composer require harrisonclewis/laravel-passwordless
```

Run migrations:

```
php artisan migrate
```

Optional — publish the configurations

```
php artisan vendor:publish --tag=passwordless-config
php artisan vendor:publish --tag=passwordless-views
```

Usage
-----

[](#usage)

### Sending authentication link

[](#sending-authentication-link)

```

    @csrf

    Login

@if (session(config('passwordless.flash')))
    Check your email for a login link.
@endif
```

For Inertia apps, you can use the flash prop `page.flash.passwordless`, or from the configured flash key if you changed `passwordless.flash`.

### Routes

[](#routes)

The package registers two routes automatically:

MethodURIDescription`POST``/passwordless`Accepts an email, creates and sends the magic link`GET``/passwordless/{token}`Consumes the token and authenticates the userPoint your login form at `route('passwordless.store')` and the rest is handled for you.

### Registration

[](#registration)

By default, users who don't have an account are created automatically when they submit their email. Disable this if you want to restrict login to existing users only:

```
// config/passwordless.php
'register' => false,
```

Configuration
-------------

[](#configuration)

```
// config/passwordless.php
return [
    'redirect'      => '/',           // Where to send the user after login
    'register'      => true,          // Auto-create users for unknown emails
    'token_lifetime' => 900,          // Link expiry in seconds (default: 15 min)

    ... others
];
```

Requirements
------------

[](#requirements)

- PHP ^8.1
- Laravel ^10.0|^11.0|^12.0|^13.0

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance96

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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 ~0 days

Total

3

Last Release

20d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd52d8f912140187782169a1128f2d349ab25a6366a3f887018bddd45819f2a6?d=identicon)[HarrisonCode](/maintainers/HarrisonCode)

---

Top Contributors

[![harrisonclewis](https://avatars.githubusercontent.com/u/18741898?v=4)](https://github.com/harrisonclewis "harrisonclewis (8 commits)")

---

Tags

laravelAuthenticationloginPasswordlessmagic-link

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/harrisonclewis-laravel-passwordless/health.svg)

```
[![Health](https://phpackages.com/badges/harrisonclewis-laravel-passwordless/health.svg)](https://phpackages.com/packages/harrisonclewis-laravel-passwordless)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

88011.3M149](/packages/spatie-laravel-health)[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2795.2M3](/packages/auth0-login)[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k239.9k72](/packages/moonshine-moonshine)[illuminate/notifications

The Illuminate Notifications package.

513.0M1.1k](/packages/illuminate-notifications)

PHPackages © 2026

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