msdevbytes/filament-currency-switcher

A Filament v3 plugin to add a currency switcher with automatic conversion

1.0.0 2025-07-03 15:49 UTC

This package is auto-updated.

Last update: 2025-07-03 18:46:35 UTC


README

A Filament v3 plugin to add a currency switcher with automatic rate conversion using the Fixer.io API.

🚀 Features

  • 💸 Currency dropdown in the Filament navbar
  • 🔁 Automatic rate conversion using Fixer API
  • ✅ Supports free and paid Fixer plans
  • 🎛️ Configuration via Filament settings page
  • 🌙 Dark mode ready
  • 🧩 Powered by spatie/laravel-settings

📦 Installation

1. Install via Composer

composer require msdevbytes/filament-currency-switcher

2. Run the Installer

  • Register the settings class
  • Publish the config file
php artisan currency-switcher:install

3. Run these for spatie/laravel-settings:

php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"
php artisan migrate

php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="config"
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"
php artisan migrate
php artisan make:settings-migration CurrencySettings

4. Run Migrations (if using Spatie settings for the first time)

php artisan vendor:publish --tag=settings-migrations
php artisan migrate