PHPackages                             geof-dev/filament-web3-auth - 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. geof-dev/filament-web3-auth

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

geof-dev/filament-web3-auth
===========================

Web3 wallet authentication plugin for Filament v4

v1.1.0(4mo ago)3122MITPHPPHP ^8.2

Since Dec 31Pushed 4mo agoCompare

[ Source](https://github.com/geof-dev/filament-web3-auth)[ Packagist](https://packagist.org/packages/geof-dev/filament-web3-auth)[ Docs](https://github.com/geof-dev/filament-web3-auth)[ RSS](/packages/geof-dev-filament-web3-auth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (13)Used By (0)

Filament Web3 Auth
==================

[](#filament-web3-auth)

[![Latest Version on Packagist](https://camo.githubusercontent.com/837eaa4924af07f58d86d5f80575ff4108fa208244da885138b3be126048f6a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67656f662d6465762f66696c616d656e742d776562332d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/geof-dev/filament-web3-auth)[![Total Downloads](https://camo.githubusercontent.com/e5dc3687a8dea78744bcc7e523fc297861eb551c2633b2021444d5d41d72c445/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67656f662d6465762f66696c616d656e742d776562332d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/geof-dev/filament-web3-auth)

A Filament v4 plugin for Web3 wallet authentication (MetaMask, and other EIP-1193 compatible wallets).

 [![Filament Web3 Auth](art/banner.jpeg)](art/banner.jpeg)

Features
--------

[](#features)

- Login with crypto wallet (MetaMask, etc.)
- Auto-register new users on first wallet login
- Link/unlink wallet to existing accounts
- Multi-network token dashboard (Ethereum, Polygon, Arbitrum, Base, Sepolia)
- Fully customizable and translatable

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

[](#installation)

Install the package via Composer:

```
composer require geof-dev/filament-web3-auth
```

Publish and run the migration:

```
php artisan vendor:publish --tag="filament-web3-auth-migrations"
php artisan migrate
```

Optionally publish the config file:

```
php artisan vendor:publish --tag="filament-web3-auth-config"
```

Optionally publish the views:

```
php artisan vendor:publish --tag="filament-web3-auth-views"
```

Add the plugin's views to your Filament theme CSS file (e.g., `resources/css/filament/admin/theme.css`):

```
@source '../../../../vendor/geof-dev/filament-web3-auth/resources/views/**/*.blade.php';
```

Then rebuild your assets:

```
npm run build
```

Usage
-----

[](#usage)

Register the plugin in your Filament panel provider:

```
use GeofDev\FilamentWeb3Auth\FilamentWeb3AuthPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugin(
            FilamentWeb3AuthPlugin::make()
                ->autoRegister(true)      // Auto-create users on first login
                ->showOnLogin(true)       // Show button on login page
        );
}
```

Plugin Options
--------------

[](#plugin-options)

MethodDescriptionDefault`autoRegister(bool)`Auto-create users on wallet login`false``showOnLogin(bool)`Show connect button on login page`true``signatureMessage(string)`Custom signature message templateConfig valueConfiguration
-------------

[](#configuration)

```
// config/filament-web3-auth.php

return [
    'enabled' => env('FILAMENT_WEB3_AUTH_ENABLED', true),
    'auto_register' => env('FILAMENT_WEB3_AUTH_AUTO_REGISTER', true),
    'signature_message' => 'Sign this message to authenticate with :app_name. Nonce: :nonce',
    'user_model' => null, // Uses default auth model
    'route_prefix' => 'web3-auth',
    'middleware' => ['web'],
    'auth_middleware' => ['web', 'auth'],
];
```

User Model Setup
----------------

[](#user-model-setup)

Ensure your User model has the `eth_address` column fillable:

```
protected $fillable = [
    'name',
    'email',
    'password',
    'eth_address',
];
```

Adding Wallet Manager to Profile
--------------------------------

[](#adding-wallet-manager-to-profile)

The easiest way is to use the plugin's EditProfile page in your panel:

```
use GeofDev\FilamentWeb3Auth\Pages\Auth\EditProfile;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->profile(EditProfile::class);
}
```

Or add the component manually to your custom profile page:

```
use Filament\Schemas\Components\View;

View::make('filament-web3-auth::components.wallet-manager')
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Geoffrey B.](https://github.com/geof-dev)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance76

Regular maintenance activity

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

12

Last Release

130d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12ca6003245a10eb5507c20a16563d31ebe0567b0c6c2bb6298a79f632acfb6b?d=identicon)[geof-dev](/maintainers/geof-dev)

---

Top Contributors

[![geof-dev](https://avatars.githubusercontent.com/u/53046935?v=4)](https://github.com/geof-dev "geof-dev (14 commits)")

---

Tags

laravelAuthenticationwalletfilamentethereumweb3metamask

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/geof-dev-filament-web3-auth/health.svg)

```
[![Health](https://phpackages.com/badges/geof-dev-filament-web3-auth/health.svg)](https://phpackages.com/packages/geof-dev-filament-web3-auth)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

34450.0k2](/packages/andrewdwallo-filament-companies)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)[chrisreedio/socialment

Provides Socialite functionality for Filament.

10884.8k1](/packages/chrisreedio-socialment)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

5925.8k](/packages/marcelweidum-filament-passkeys)[caresome/filament-auth-designer

Transform Filament's default auth pages into stunning, brand-ready experiences

3916.8k2](/packages/caresome-filament-auth-designer)

PHPackages © 2026

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