You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
Hey @amrshawky, great project! This is just the easiest to use and cleanest currency library I found.
Are you planning to implement any kind of caching, so that we don't hit rate limits at exchangerate.host API?
I would like to use the default Laravel Cache driver for this, maybe allowing to pass any PSR-6 compliant cache implementation. Caching should ideally be done on both single currency conversions (by e.g. storing from-to currency rates in an array) or for whole rates data (see below).
I didn't find it easy to implement this in your library and pass some caching over to amrshawky/currency through Laravel facade, so for the moment, I am just using this helper class in my project:
Thanks for bringing this up, I didn't consider implementing any kind of caching to be honest since it's easy to use it with Laravel cache, But this would be a great feature to add to the library and I'll definitely consider adding it soon.
Hey @amrshawky, great project! This is just the easiest to use and cleanest currency library I found.
Are you planning to implement any kind of caching, so that we don't hit rate limits at exchangerate.host API?
I would like to use the default Laravel Cache driver for this, maybe allowing to pass any PSR-6 compliant cache implementation. Caching should ideally be done on both single currency conversions (by e.g. storing from-to currency rates in an array) or for whole rates data (see below).
I didn't find it easy to implement this in your library and pass some caching over to
amrshawky/currency
through Laravel facade, so for the moment, I am just using this helper class in my project:Cheers, Philip
The text was updated successfully, but these errors were encountered: