What is the best PHP currency symbol class? #currency symbol
Edit
by muhmmad kadir khan - 9 years ago (2016-05-10)
Get currency symbol from currency code
| I want a class that can provide currency symbol from currency code. |
- 1 Clarification request
1.
by Manuel Lemos - 9 years ago (2016-05-12) Reply
I have seen classes that can take the currency code and perform exchange rates but not exactly the currency symbol.
Do you mean for instance $ for USD?
Ask clarification
2 Recommendations
TCurrencyHandler: Retrieve details and format currency symbol values
This package can retrieve details and format currency symbol values.
It provides a class that can perform several types of operations with money currencies.
Currently it can:
- Get the normalized name of a currency
- Check if a given currency name is valid
- Get the name or symbol of a given currency
- Format a given money amount as a string for a given currency
| by Christos Drogidis package author 90 - 1 month ago (2026-03-01) Comment
This package can retrieve details and format currency symbol values.
It provides a class that can perform several types of operations with money currencies.
Currently it can:
- Get the normalized name of a currency
- Check if a given currency name is valid
- Get the name or symbol of a given currency
- Format a given money amount as a string for a given currency |
Punic: Localize numbers, dates, units using Unicode CLDR
This package can localize numbers, dates, units, etc. using Unicode CLDR.
It provides several classes that can be used to adapt applications to different locales data from the Unicode Common Locale Data Repository.
Currently it provides classes to format and convert calendar dates, get and set the current locale from a list of supported locales, manipulate the case of text letters, format numbers and text with unit values, format text with plural names, get the list of names of countries and continents.
| by Michele Locati package author 40 - 9 years ago (2016-05-12) Comment
Punic can do this |