wuwx/filament-currency-field

Filament currency field.

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

This package is not auto-updated.

Last update: 2024-12-17 19:19:30 UTC


README

A Currency select field for Laravel Filament.

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'),
            // ...
        ]);
}