Torann / laravel-currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.
http://lyften.com/projects/laravel-currency
BSD 2-Clause "Simplified" License
392 stars 137 forks source link

Specify 'base' currency when updating database #46

Closed matbeard closed 7 years ago

matbeard commented 8 years ago

When I ran the currency:update command on my local testing server, the resulting base currency was GBP (that is, the one that got a rate of 1.00000).

However, the same command on our production server resulted in USD getting a value of 1.00000.

Is there a way to ensure the downloaded values are relative to the correct 'base' currency?

Torann commented 7 years ago

Hmmm. Is the config file updated on the production server? Also what service are you using to get the exchange rates?

Torann commented 7 years ago

Currency management commands have been cleaned up in v1.0. Give that a try