Download the PHP package geof-dev/filament-web3-auth without Composer
On this page you can find all versions of the php package geof-dev/filament-web3-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download geof-dev/filament-web3-auth
More information about geof-dev/filament-web3-auth
Files in geof-dev/filament-web3-auth
Package filament-web3-auth
Short Description Web3 wallet authentication plugin for Filament
License MIT
Homepage https://github.com/geof-dev/filament-web3-auth
Informations about the package filament-web3-auth
Filament Web3 Auth
A Filament v4 plugin for Web3 wallet authentication (MetaMask, and other EIP-1193 compatible wallets).
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
Install the package via Composer:
Publish and run the migration:
Optionally publish the config file:
Optionally publish the views:
Add the plugin's views to your Filament theme CSS file (e.g., resources/css/filament/admin/theme.css):
Then rebuild your assets:
Usage
Register the plugin in your Filament panel provider:
Plugin Options
| Method | Description | Default |
|---|---|---|
autoRegister(bool) |
Auto-create users on wallet login | false |
showOnLogin(bool) |
Show connect button on login page | true |
signatureMessage(string) |
Custom signature message template | Config value |
Configuration
User Model Setup
Ensure your User model has the eth_address column fillable:
Adding Wallet Manager to Profile
The easiest way is to use the plugin's EditProfile page in your panel:
Or add the component manually to your custom profile page:
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
- Geoffrey B.
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-web3-auth with dependencies
filament/filament Version ^4.0|^5.0
kornrunner/keccak Version ^1.1
simplito/elliptic-php Version ^1.0
spatie/laravel-package-tools Version ^1.16