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

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

soved/laravel-magic-auth
========================

Authenticate users using a magic link

v1.1.4(5y ago)151.2k5MITPHPPHP ^7.1.3

Since Jun 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sander3/laravel-magic-auth)[ Packagist](https://packagist.org/packages/soved/laravel-magic-auth)[ RSS](/packages/soved-laravel-magic-auth/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Authenticate users using a magic link
=====================================

[](#authenticate-users-using-a-magic-link)

Fast and secure passwordless authentication for the masses.

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/abd657ad742da598a69622a54304697357b40735480218317b1552da594bbecb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616e646572332f6c61726176656c2d6d616769632d617574682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sander3/laravel-magic-auth/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/34538c7221efa57e48e4a9292e163ac92607b973977f7239e8a5c8070c77ae29/68747470733a2f2f706f7365722e707567782e6f72672f736f7665642f6c61726176656c2d6d616769632d617574682f762f737461626c65)](https://packagist.org/packages/soved/laravel-magic-auth)[![Monthly Downloads](https://camo.githubusercontent.com/bfd99ab74827601f2608c2ed23da224d7a7157cd198b7470acdc0095950afa5b/68747470733a2f2f706f7365722e707567782e6f72672f736f7665642f6c61726176656c2d6d616769632d617574682f642f6d6f6e74686c79)](https://packagist.org/packages/soved/laravel-magic-auth)[![License](https://camo.githubusercontent.com/f6cddaca80632a164a35344542631ecf4e4023936bb78d583b37928e9f599346/68747470733a2f2f706f7365722e707567782e6f72672f736f7665642f6c61726176656c2d6d616769632d617574682f6c6963656e7365)](https://packagist.org/packages/soved/laravel-magic-auth)

[Buy me a coffee ☕️](https://www.buymeacoffee.com/sander3)

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

[](#requirements)

- PHP &gt;= 7.1.3
- Laravel &gt;= 5.6, 6.0 or 7.0

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

[](#installation)

First, install the package via the Composer package manager:

```
$ composer require soved/laravel-magic-auth
```

After installing the package, you should publish the configuration file:

```
$ php artisan vendor:publish --tag=magic-auth-config
```

Add the `Soved\Laravel\Magic\Auth\Contracts\CanMagicallyLogin` interface to the `App\User` model:

```
