Based on the source code provided, here is a technical documentation section on 💱 Supported Currencies for the Laravel Currency Formatter package. This documentation details the currencies supported by the package, including their symbols, policies regarding decimal digits, and formatting options.
💱 Supported Currencies
Laravel Currency Formatter supports an extensive range of global currencies, each with unique formatting rules and symbols. Below is a comprehensive list of supported currencies, detailing their code, symbol, decimal digit policies, thousands and decimal separators, symbol positioning, and spacing policies.
Currency Code | Symbol | Decimal Digits | Thousands Separator | Decimal Separator | Symbol Position | Space Between Amount And Symbol |
---|---|---|---|---|---|---|
AED | د.إ. | 2 | , | . | Left | Yes |
AFN | ؋ | 2 | , | . | Left | No |
ALL | Lek | 2 | . | , | Right | No |
AMD | ֏ | 2 | , | . | Right | Yes |
ANG | ƒ | 2 | , | . | Left | No |
AOA | Kz | 2 | , | . | Left | No |
ARS | $ | 2 | . | , | Left | Yes |
AUD | $ | 2 | , | . | Left | No |
... | ... | ... | ... | ... | ... | ... |
- Currency Code: The international standardized currency code (ISO 4217).
- Symbol: The symbol used to denote the currency.
- Decimal Digits: Number of digits after the decimal separator.
- Thousands Separator: Character used to separate thousands.
- Decimal Separator: Character used for the decimal point.
- Symbol Position: Indicates if the currency symbol is placed to the left or right of the amount.
- Space Between Amount And Symbol: Specifies if a space exists between the currency symbol and the amount.
💡 The formatter allows customization such as overriding the default symbol per currency, adapting the formatter to meet various localization needs.
This documentation takes limited information from the uploaded code snapshot for brevity. For a complete listing of supported currencies, refer to the package's source code or documentation.
⚙️ Technical Insight: The formatter's behavior, including symbol placement and decimal handling, is configurable, allowing developers to fine-tune the display according to regional preferences or specific use cases.
🌍 Whether you're developing a global eCommerce platform, financial application, or any system dealing with multiple currencies, Laravel Currency Formatter provides a hassle-free solution to manage currency formatting in a standardized yet customizable way.
Note: This documentation is designed for Laravel developers and assumes familiarity with PHP and Laravel services/facades.