knowfox/passwordless

Passwordless login.

Installs: 177

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:Blade

0.4.0 2017-08-23 20:09 UTC

This package is not auto-updated.

Last update: 2025-06-15 15:44:46 UTC


README

This module implements a Medium/Slack-inspired password-less login for Laravel sites. It is part of the personal knowledge management system Knowfox.

Installation

  • Require the module into your project by
    composer require knowfox/passwordless
    
  • Install the service provider by adding the line
    Knowfox\Passwordless\ServiceProvider::class,
    
    ... in array providers in your config/app.php.
  • Remove the line
    Auth::routes();
    
    ... from your routes/web.php
  • Define a variable MAIL_DOMAIN in your .env.
  • Be sure to set your APP_NAME to the name of your app.
  • Fill in a working mail configuration, e.g. through mailtrap.io

Credits

The approach follows a blog post by Matt Stauffer.