We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for a great package! It works well for generating a list of Brazillian states.
I'm just struggling with the cities. This doesn't work:
Countries::where('name.common', 'Brazil') ->first() ->hydrateCities() ->cities ->where('adm1name', 'Amapá') ->pluck('name') ->toArray();
But this does:
Countries::where('name.common', 'Brazil') ->first() ->hydrateCities() ->cities ->where('adm1name', 'Amapá') ->pluck('name') ->toArray();
I'm on Laravel 7, PHP 7.4.
What can I change in what I'm doing to get it to filter the cities by the state name?
The text was updated successfully, but these errors were encountered:
It seems like data/cities/default/bra.json has an encoding problem.
data/cities/default/bra.json
It has this for São Paulo: S\u00c3\u00a3o Paulo
S\u00c3\u00a3o Paulo
Whereas data/states/default/bra.json has this: S\u00e3o Paulo (Which works.)
data/states/default/bra.json
S\u00e3o Paulo
Hope this helps.
Sorry, something went wrong.
utf8_decode($value)
No branches or pull requests
Thanks for a great package! It works well for generating a list of Brazillian states.
I'm just struggling with the cities. This doesn't work:
But this does:
I'm on Laravel 7, PHP 7.4.
What can I change in what I'm doing to get it to filter the cities by the state name?
The text was updated successfully, but these errors were encountered: