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

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

radiate/passwordless
====================

A Radiate framework package to allow users to login with a link

v0.1.1(4y ago)07MITPHPPHP ^7.4|^8.0

Since Oct 21Pushed 4y agoCompare

[ Source](https://github.com/radiate-framework/passwordless)[ Packagist](https://packagist.org/packages/radiate/passwordless)[ RSS](/packages/radiate-passwordless/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

[![Packagist Version](https://camo.githubusercontent.com/9eec8a4a609de01092302a8f94c2321695ca683e3c37770463eceab79e289355/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726164696174652f70617373776f72646c6573733f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/9eec8a4a609de01092302a8f94c2321695ca683e3c37770463eceab79e289355/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726164696174652f70617373776f72646c6573733f7374796c653d666c61742d737175617265)[![GitHub license](https://camo.githubusercontent.com/275fe537f329cda52b41b312ca9d1cb330ef75815af57d18acdaabb51a75a9a6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726164696174652d6672616d65776f726b2f70617373776f72646c6573733f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/275fe537f329cda52b41b312ca9d1cb330ef75815af57d18acdaabb51a75a9a6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726164696174652d6672616d65776f726b2f70617373776f72646c6573733f7374796c653d666c61742d737175617265)

Radiate Passwordless Login
==========================

[](#radiate-passwordless-login)

A Radiate framework package to allow users to login with a link.

This simple package generates temporary login URLs that allow a user to login without a password.

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

[](#installation)

```
composer require radiate/passwordless
```

Register the service provider in your `functions.php` file:

```
$app->register(Radiate\Passwordless\PasswordlessServiceProvider::class);
```

By default the package generates a REST API endpoint at `/wp-json/passwordless/login` but you are free to change this in the passwordless config.

```
wp radiate vendor:publish --tag=passwordless
```

Usage
-----

[](#usage)

### Trait

[](#trait)

You can add the `PasswordlessLogin` trait to your User model:

```
