io238 / laravel-iso-countries

Ready-to-use Laravel models and relations for country (ISO 3166), language (ISO 639-1), and currency (ISO 4217) information with multi-language support.
MIT License
38 stars 9 forks source link

Currency extraction from url coming empty #1

Closed imbf98 closed 1 year ago

imbf98 commented 2 years ago

Hi,

Im trying to use this lib but i am getting the problem that currency seeds are coming empty because load currency JSON url is giving status 404.

// Load Currency JSON Http::get('https://gist.githubusercontent.com/Fluidbyte/2973986/raw/8bb35718d0c90fdacb388961c98b8d56abc392c9/Common-Currency.json');

Can you give me a solution for this?

Thanks

io238 commented 2 years ago

Indeed, some of the external resources are not available anymore. I've been working on several changes to this package, including a fix for this missing data source. I'll publish a new release very soon and will keep you posted here as well.

io238 commented 1 year ago

This has been fixed by loading all dependencies into version control instead of relying on online resources.