Download the PHP package aldo/laravel-passwordless-login without Composer
On this page you can find all versions of the php package aldo/laravel-passwordless-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aldo/laravel-passwordless-login
More information about aldo/laravel-passwordless-login
Files in aldo/laravel-passwordless-login
Package laravel-passwordless-login
Short Description Log into your application using just a link
License
Homepage https://github.com/Aldoo24/laravel-passwordless-login.git
Informations about the package laravel-passwordless-login
Laravel Passwordless Login
A login link generator for Laravel
This package provides a temporary signed route that can be used to login a user. You can implement the login yourself or you can use the implementation provided by this package. It includes a must verify email registration and a passwordless login implementation.
Installation
Publish the config file
Usage
In the published config file you should set the correct user model namespace and the name of the route that is going to be used to verify the generated login link. Your can also set the expiration time you want for the link.
To generate the login link use the provided facade
If you want to use the provided authentication implementation follow the steps below.
- Publish the migration files
`
- Run the migrations
The packages migration modifies the users table making the password column nullable.
-
In the config file change the flag to true and set the correct route name for your home page
- In your user model implement
Illuminate\Contracts\Auth\MustVerifyEmail. The package uses it in the user registration.
If you want to publish the views and the localization files run: