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

I can not use filesystem #40

Closed reina3596 closed 7 years ago

reina3596 commented 8 years ago

If I use filesystem I found this error

ErrorException in Currency.php line 102: Undefined index: EUR

I need use filesystem for best performance.

Thankssss

Torann commented 8 years ago

Can you attach your currencies.json file for me? Also did you run the command to get the rates from Yahoo or OpenExchangeRates.org?

Just so you know, using the database is just as fast and is more scalable. The system stores the rates in the database, but then uses Laravel's internal caching to cache the data so the DB isn't used again unless the cache is cleared or the rates are updated.