PHPackages                             misaf/vendra-currency - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. misaf/vendra-currency

ActiveVendra-module[Utility &amp; Helpers](/categories/utility)

misaf/vendra-currency
=====================

Currency management with a fiat and crypto catalog, per-tenant activation, and a single default currency

v1.10.0(2w ago)1103MITPHPPHP ^8.3CI failing

Since Jul 10Pushed 2w agoCompare

[ Source](https://github.com/misaf/vendra-currency)[ Packagist](https://packagist.org/packages/misaf/vendra-currency)[ Docs](https://github.com/misaf/vendra-currency)[ RSS](/packages/misaf-vendra-currency/feed)WikiDiscussions 1.x Synced 1w ago

READMEChangelog (10)Dependencies (45)Versions (26)Used By (3)

Vendra Currency
===============

[](#vendra-currency)

Tenant-aware currency management for Vendra applications.

Features
--------

[](#features)

- Catalog of installable currencies: ISO 4217 fiat (via `moneyphp/money`) and crypto currencies (via `moneyphp/crypto-currencies`)
- Enable/disable installed currencies per tenant with a single enforced default currency
- Money formatting through `cknow/laravel-money`
- Filament resource on the `admin` panel

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 13
- Filament 5
- Livewire 4
- Pest 4
- `misaf/vendra-support`

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

[](#installation)

```
composer require misaf/vendra-currency
php artisan vendor:publish --tag=vendra-currency-migrations
php artisan migrate
```

Optional configuration and translations:

```
php artisan vendor:publish --tag=vendra-currency-config
php artisan vendor:publish --tag=vendra-currency-translations
```

The service provider and Filament plugin are auto-registered.

Usage
-----

[](#usage)

Install a currency from the catalog:

```
use Misaf\VendraCurrency\Models\Currency;
use Misaf\VendraCurrency\Support\CurrencyRegistry;

Currency::query()->create([
    'code' => 'USD',
    'name' => CurrencyRegistry::nameFor('USD'),
    'symbol' => '$',
    'decimal_places' => CurrencyRegistry::minorUnitFor('USD'),
    'type' => CurrencyRegistry::typeFor('USD'),
    'is_default' => true,
]);
```

Browse the catalog:

```
CurrencyRegistry::options();      // ['USD' => 'US Dollar (USD)', ..., 'BTC' => 'BTC', ...]
CurrencyRegistry::isSupported('BTC'); // true
```

Format an amount stored in minor units:

```
$currency = Currency::query()->where('code', 'USD')->firstOrFail();

$currency->formatAmount(1050); // "$10.50"
$currency->money(1050);        // Cknow\Money\Money instance
```

Exactly one enabled currency is the default at any time; use the domain action to switch it:

```
use Misaf\VendraCurrency\Actions\SetDefaultCurrencyAction;

(new SetDefaultCurrencyAction())->execute($currency);
```

Filament
--------

[](#filament)

The `Currencies` resource lives in the Sales cluster on the `admin` panel. Install currencies from the searchable catalog, toggle their active state, reorder them, and pick the default via the table toggle or row action.

Testing
-------

[](#testing)

Run the package checks from the package directory:

```
composer test
composer analyse
```

License
-------

[](#license)

MIT. See [LICENSE](LICENSE).

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance97

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.1% 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 ~1 days

Total

23

Last Release

16d ago

Major Versions

0.2.0 → v1.0.02026-07-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/41fd7351d25e29dafa18068d0418eecf6bb47a7473aabe6bc674b4ca35e71805?d=identicon)[misaf](/maintainers/misaf)

---

Top Contributors

[![misaf](https://avatars.githubusercontent.com/u/8195685?v=4)](https://github.com/misaf "misaf (103 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelmoneycurrencycryptofilamentphpmisafvendra

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/misaf-vendra-currency/health.svg)

```
[![Health](https://phpackages.com/badges/misaf-vendra-currency/health.svg)](https://phpackages.com/packages/misaf-vendra-currency)
```

###  Alternatives

[statikbe/laravel-filament-flexible-content-blocks

The Laravel Filament Flexible Content Blocks package helps you to easily create content in Filament for any model, with predefined or custom blocks, and foreach block an extendable Blade view component.

17927.9k6](/packages/statikbe-laravel-filament-flexible-content-blocks)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16429.7k](/packages/backstage-mails)[tapp/filament-lms

204.4k](/packages/tapp-filament-lms)[tapp/filament-form-builder

User facing form builder using Filament components

133.5k6](/packages/tapp-filament-form-builder)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1614.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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