Pharaonic
Loading...

# setCurrency

Setting default currency.

1use Pharaonic\Laravel\Money\Facades\Money;
2 
3Money::setCurrency('USD');

# setLanguage

Setting default language.
Supported languages [ar, en, fr, de, es].

1Money::setLanguage('ar');

# only

Select specific currencies.

1Money::only(['USD']);

# except

Except specific currencies.

1Money::except(['USD']);

# getLanguage

Get current language.

1Money::getLanguage(['USD']);

# getCurrencyCode

Get currency Code.

1Money::getCurrencyCode();

# getCurrencyName

Get currency Name.

1Money::getCurrencyName();

# getCurrencySymbol

Get currency Symbol.

1Money::getCurrencySymbol();

# getCurrenciesList

Get currencies list (code => name).

1$currencies = Money::getCurrenciesList();