innowaysit/currency-formatter

A Simple package that formats a number to currency e.g. INR, USD etc.

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/innowaysit/currency-formatter

v0.1.3-alpha 2022-05-19 10:57 UTC

This package is auto-updated.

Last update: 2025-12-24 14:48:26 UTC


README

Basic Uses

    use Innowaysit\CurrencyFormatter\CurrencyFormatter;

    $amount = 1000;

    $formatted_currency_string = Innowaysit\CurrencyFormatter::format($amount,'inr'); // returns 1,000.00 as string

Supported currencies

  • INR
  • USD
  • EUR