NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3475 most downloaded on Packagist
A package to easily make use of country & language flags in your Laravel Blade views.
Latest stable
1.7.0
Last release 8 months ago
01 Mar 2026
Release timing varies
gaps range from 9 days to 10 months
Most releases are documented
notes for 13 of 18 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
18 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Fix flag components not respecting CSS size classes
This package aims for broad compatibility by mirroring upstream flag collections. Inclusion of any flag does not imply endorsement. The author of this
This package aims for broad compatibility by mirroring upstream flag collections. Inclusion of any flag does not imply endorsement. The author of this package stands with Palestine <img src="resources/svg/country-ps.svg" width="18" alt="PS Flag"> (the Palestine flag is featured in the project cover). If you want to exclude specific flags, you can do so in your application/UI, or exclude them during the build via bin/build.sh.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
The package now ships with three flag styles — 1,759 flags total:
The package now ships with three flag styles — 1,759 flags total:
| Variant | Component | Countries | Languages |
|---|---|---|---|
| Default (rounded) | <x-flag-country-us /> |
264 | 281 |
| Circle | <x-flag-circle-country-us /> |
405 | 275 |
| Flat (4:3) | <x-flag-flat-country-us /> |
270 | 264 |
Override default language-to-country mappings via config:
// config/blade-flags.php
'language_overrides' => [
'ar' => ['default' => 'sa'],
'en' => ['default' => 'us'],
],
The same flags are now available as npm packages for Vue, React, and vanilla JS:
@blade-flags/core — SVG strings as tree-shakeable JS modules@blade-flags/vue — <Flag> component for Vue 3@blade-flags/react — <Flag> component for React 18+npm install @blade-flags/core @blade-flags/vue
Full Changelog: https://github.com/MohmmedAshraf/blade-flags/compare/1.5.4...1.6.0
The package now ships with three flag styles — 1,759 flags total:
| Variant | Component | Countries | Languages |
|---|---|---|---|
| Default (rounded) | <x-flag-country-us /> |
264 | 281 |
| Circle | <x-flag-circle-country-us /> |
405 | 275 |
| Flat (4:3) | <x-flag-flat-country-us /> |
270 | 264 |
Override default language-to-country mappings via config:
// config/blade-flags.php
'language_overrides' => [
'ar' => ['default' => 'sa'],
'en' => ['default' => 'us'],
],The same flags are now available as npm packages for Vue, React, and vanilla JS:
@blade-flags/core — SVG strings as tree-shakeable JS modules@blade-flags/vue — <Flag> component for Vue 3@blade-flags/react — <Flag> component for React 18+npm install @blade-flags/core @blade-flags/vueFull Changelog: 1.5.4...1.6.0
Add home nation country flags by @michaeljmeadows in https://github.com/MohmmedAshraf/blade-flags/pull/26
Full Changelog: https://github.com/MohmmedAshraf/blade-flags/compare/1.5.3...1.5.4
Full Changelog: 1.5.3...1.5.4
Laravel 12.x Compatibility by @laravel-shift in https://github.com/MohmmedAshraf/blade-flags/pull/24
Full Changelog: https://github.com/MohmmedAshraf/blade-flags/compare/1.5.2...1.5.3
Updated Syrian Flag to the New Free Syria Green Flag by @JamelSyr in https://github.com/MohmmedAshraf/blade-flags/pull/23
Full Changelog: https://github.com/MohmmedAshraf/blade-flags/compare/1.5.1...1.5.2
Fix a typo in the README file. by @hackedhorizon in https://github.com/MohmmedAshraf/blade-flags/pull/19
Full Changelog: https://github.com/MohmmedAshraf/blade-flags/compare/1.5.0...1.5.1
Laravel 11.x Compatibility by @laravel-shift in https://github.com/MohmmedAshraf/blade-flags/pull/14
Full Changelog: https://github.com/MohmmedAshraf/blade-flags/compare/1.2.1...1.5.0
Fix fallback icon not working!
Fix fallback icon not working!
Nothing published for this version
Nothing published for this version
Add missing flags #8 , #9 Add a default fallback flag if the requested flag is missing in the config
Add missing flags #8 , #9 Add a default fallback flag if the requested flag is missing in the config
Nothing published for this version
Add Kurdistan Flag for the Kurdish language #4 by @renwarkurd Correct the language code for Iraq Arabic language #5 by @renwarkurd
Add Kurdistan Flag for the Kurdish language #4 by @renwarkurd Correct the language code for Iraq Arabic language #5 by @renwarkurd
Correct the Basque language flag
Correct the Basque language flag (#1)
Nothing published for this version
Use twemoji flags instated of circle-flags
Use twemoji flags instated of circle-flags
Nothing published for this version
One column per quarter.