stidges/laravel-country-flags
Laravel package that renders country flags from ISO country codes, with handy Blade directives and helpers for displaying flag icons in your views.
Adopt it when:
Look elsewhere when:
Version note: v3.0.1 is a patch release adding Laravel 12.x compatibility. No breaking changes, no new features, no deprecations, no API surface change. Treat it as a routine upgrade and pin to ^3.0.
For executives — one paragraph: Our new international features need country flags in dropdowns and address forms. This package provides that in a single line of code, is actively maintained, and as of v3.0.1 is compatible with Laravel 12 — so it does not block our framework upgrade. It is a small, narrowly scoped, presentational dependency, not a platform commitment: we keep the flags as versioned assets and can swap the rendering layer without touching product logic. Cost is near zero; the alternative is spending engineering time building and indefinitely maintaining a flag asset pipeline that adds no product differentiation.
For engineering — the short version:
composer update stidges/laravel-country-flags and pin ^3.0.x-country-flag component so the dependency is behind one seam. If it is ever abandoned or we need a different flag style, we reimplement one component and nothing else moves.How can I help you explore Laravel packages today?