Search by

wuwx / filament-currency-field

wuwx

Filament currency field.

Package info

github.com/wuwx/filament-currency-field

pkg:composer/wuwx/filament-currency-field

Statistics

Installs: 93

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v3.0.0 2023-09-11 15:05 UTC

This package is auto-updated.

Last update: 2026-11-09 16:03:37 UTC


README

tests

A Currency select field for Laravel Filament.

Requirements

  • PHP 8.1+
  • Filament 3, 4 or 5

Installation

composer require wuwx/filament-currency-field:"^3.0"

Usage

Form Field

Add to your Filament resource:

use Wuwx\FilamentCurrencyField\Forms\Components\CurrencySelect;

public static function form(Form $form): Form
{
    return $form
        ->schema([
            // ...
            CurrencySelect::make('currency'),
            // ...
        ]);
}

Options are the ISO 4217 currency codes, so the field stores the code (e.g. USD).

Testing

composer test