Skip to content

bradyrenting/filament-passwordless

Repository files navigation

Passwordless Authentication for Filament

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Filament Passwordless is a package for Filament that allows users to login without a password.

Installation

You can install the package via composer:

composer require bradyrenting/filament-passwordless

You can publish the config file with:

php artisan vendor:publish --tag="filament-passwordless-config"

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-passwordless-views"

Usage

Register the plugin in your Filament panel provider (the default filename is app/Providers/Filament/AdminPanelProvider.php):

use BradyRenting\FilamentPasswordless\FilamentPasswordlessPlugin;

// ...

    return $panel
        ->plugin(FilamentPasswordlessPlugin::make())
// ...

Note that you can remove any existing call to ->login() in the panel's configuration because it will be provided by this plugin.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.