MohmmedAshraf / blade-flags

A package to easily to display countries & languages flags in your Laravel Blade views
MIT License
247 stars 29 forks source link

Octane, FrankenPHP & Dynamic Flags #17

Closed tommmoe closed 7 months ago

tommmoe commented 7 months ago

Set up Octane with FrankenPHP today in docker and noticed that all of my flags are using the default "?" fallback SVG, the flags are dyanmic and use this format <x-icon name="flag-country-{{ $country->code }}" class="h-6 w-6"/>

Confirmed that it's working when I use the static method of <x-flag-country-us class="h-6 w-6"/>

Anyone have an idea of why this may happen or where to start looking?

tommmoe commented 7 months ago

flags Screenshot for clarity, added the $country->code as text just to make sure I wasn't going crazy.

tommmoe commented 7 months ago

Closing due to change of uppercase country code to lowercase, not sure when that changed but it's all good now.