Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Countries flag icon #3

Open
obiefy opened this issue Nov 11, 2019 · 2 comments
Open

Countries flag icon #3

obiefy opened this issue Nov 11, 2019 · 2 comments

Comments

@obiefy
Copy link

obiefy commented Nov 11, 2019

I played around the source code,
I didn't find any way to get the country flag icon,
and also is there any plan to add countries name translation to other languages? Arabic for example!

@obiefy
Copy link
Author

obiefy commented Nov 11, 2019

I am thinking about advance use for the package,

$country = Country::findByName('United Arab Emirates');
// then the user can interact with coutry as object not string
$flag = $country->flag;
$arabicName = $country->translate('ar')->name;
// Also currency other important and usefull fields

@obiefy
Copy link
Author

obiefy commented Nov 14, 2019

#4 this PR prepares the structure to add flags functionality and other features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant