PHPackages                             digifactory/filament-wildcard-login - 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. digifactory/filament-wildcard-login

ActiveLibrary

digifactory/filament-wildcard-login
===================================

Allow all e-mail addresses for a specific domain name to login to a generic account for that domain.

v3.0.0(3mo ago)101.2k↓25%3[1 PRs](https://github.com/digifactory/filament-wildcard-login/pulls)MITPHPPHP ^8.3CI passing

Since Aug 22Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/digifactory/filament-wildcard-login)[ Packagist](https://packagist.org/packages/digifactory/filament-wildcard-login)[ Docs](https://github.com/digifactory/filament-wildcard-login)[ GitHub Sponsors](https://github.com/DigiFactory)[ RSS](/packages/digifactory-filament-wildcard-login/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (9)Versions (15)Used By (0)

Filament Wildcard Login
=======================

[](#filament-wildcard-login)

[![Latest Version on Packagist](https://camo.githubusercontent.com/58a74e638ea6f757925cd61ff77f89cedeed4ac2c8698ac47ece0d6c2360d6a7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64696769666163746f72792f66696c616d656e742d77696c64636172642d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/digifactory/filament-wildcard-login)[![GitHub Tests Action Status](https://camo.githubusercontent.com/76e23ca57b1e6b092c100a73e23032fd90bfdc90525aee6f2b89a1c5e4d062e6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64696769666163746f72792f66696c616d656e742d77696c64636172642d6c6f67696e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/digifactory/filament-wildcard-login/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4aa2ca3204b9e92653dce2104eb15b8b41eddbc18a9fec6bd15994d795167ff5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64696769666163746f72792f66696c616d656e742d77696c64636172642d6c6f67696e2f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/digifactory/filament-wildcard-login/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/3d3311ff8207224169c9fda486e8a49d695c01f8a10dc6aece49c73241fd74ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64696769666163746f72792f66696c616d656e742d77696c64636172642d6c6f67696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/digifactory/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. `helpdesk@digifactory.nl`) and everyone using a `@digifactory.nl` mail address can login using the e-mail sent directly to their inbox.

Since v1.0.3 it is also possible to enable e-mail login for *all users*. When enabled (`$plugin->allowAllDomains()`) the plugin will look for that specific user/e-mail address instead of a specific domain. This option can be enabled on top of the base functionality of this package.

VersionFilament versionv1.0v3.0v2.0v4.0Installation
------------

[](#installation)

You can install the package via composer:

```
composer require digifactory/filament-wildcard-login
```

Usage
-----

[](#usage)

You can add the `FilamentWildcardLoginPlugin` to your Filament `Panel` like this:

```
->plugins([
    FilamentWildcardLoginPlugin::make()
        ->domains([
            'digifactory.nl',
        ])
        ->loginDirectlyWithoutSendingEmail(app()->environment('local')),
])
```

These methods are available on the `FilamentWildcardLoginPlugin` instance:

MethodDescription`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.`allowAllDomains(Closure | bool $value = true)`This method allows you to allow all e-mail address to login using an e-mail.Preview
-------

[](#preview)

[![preview](https://raw.githubusercontent.com/digifactory/filament-wildcard-login/main/docs/preview.jpg)](https://raw.githubusercontent.com/digifactory/filament-wildcard-login/main/docs/preview.jpg)[![preview-email](https://raw.githubusercontent.com/digifactory/filament-wildcard-login/main/docs/preview-email.jpg)](https://raw.githubusercontent.com/digifactory/filament-wildcard-login/main/docs/preview-email.jpg)

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Mark](https://github.com/mrk-j)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance85

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 69.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Recently: every ~121 days

Total

7

Last Release

100d ago

Major Versions

v1.0.4 → v2.0.02025-10-09

v2.0.0 → v3.0.02026-02-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e19d432d52091cec8d2004e56ea35b4142e9c638427d07a7c7646dad22f4c58?d=identicon)[digifactory](/maintainers/digifactory)

![](https://avatars.githubusercontent.com/u/1250622?v=4)[Mark](/maintainers/mrk-j)[@mrk-j](https://github.com/mrk-j)

---

Top Contributors

[![mrk-j](https://avatars.githubusercontent.com/u/1250622?v=4)](https://github.com/mrk-j "mrk-j (55 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![m-bosch](https://avatars.githubusercontent.com/u/16580113?v=4)](https://github.com/m-bosch "m-bosch (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![douglaswp](https://avatars.githubusercontent.com/u/8309274?v=4)](https://github.com/douglaswp "douglaswp (1 commits)")

---

Tags

laraveldigifactoryfilament-wildcard-login

###  Code Quality

TestsPest

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/digifactory-filament-wildcard-login/health.svg)

```
[![Health](https://phpackages.com/badges/digifactory-filament-wildcard-login/health.svg)](https://phpackages.com/packages/digifactory-filament-wildcard-login)
```

###  Alternatives

[joaopaulolndev/filament-edit-profile

Filament package to edit profile

250258.1k34](/packages/joaopaulolndev-filament-edit-profile)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[jacobtims/filament-logger

Activity logger for filament

1721.0k4](/packages/jacobtims-filament-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
