Download the PHP package digifactory/filament-wildcard-login without Composer
On this page you can find all versions of the php package digifactory/filament-wildcard-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digifactory/filament-wildcard-login
More information about digifactory/filament-wildcard-login
Files in digifactory/filament-wildcard-login
Package filament-wildcard-login
Short Description Allow all e-mail addresses for a specific domain name to login to a generic account for that domain.
License MIT
Homepage https://github.com/digifactory/filament-wildcard-login
Informations about the package filament-wildcard-login
Filament Wildcard Login
This package allows you to allow users with an e-mail address ending in specific domain names to login using an e-mail instead of using a password. After installing this package you can have a generic account (e.g. [email protected]
) and everyone using a @digifactory.nl
mail address can login using the e-mail sent directly to their inbox.
Installation
You can install the package via composer:
Usage
You can add the FilamentWildcardLoginPlugin
to your Filament Panel
like this:
These methods are available on the FilamentWildcardLoginPlugin
instance:
Method | Description |
---|---|
enabled(Closure \| bool $value = true) |
This method allows you to enable the plugin using a boolean or callback, by default the plugin is enabled. |
loginDirectlyWithoutSendingEmail(Closure \| bool $value = true) |
This method allows you to enable direct login, without sending the e-mail. This can be handy for local development. |
domains(array $domains) |
This method allows you to define the domains that can login using the e-mail link. |
model(string $modelClass, string $modelColumn = 'email') |
This method allows you to define the used User model and column, by default the plugin users App\Model\User and email . |
emailValidForMinutes(int $minutes) |
This method allows you to define after how many minutes the link in the e-mail should expire. The default is 5 minutes. |
Preview
Testing
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
- Mark
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-wildcard-login with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0