PackageTrack
Sign in Get early access

outhebox/blade-flags

A package to easily make use of country & language flags in your Laravel Blade views.

1.7.0 963K downloads/mo #3757 most downloaded on Packagist MohmmedAshraf/blade-flags

What this package is like to depend on

Last release 5 months ago

01 Mar 2026

Release timing varies

gaps range from 9 days to 10 months

Some releases are documented

notes for 6 of 18 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

18 releases · first in 2022

4 releases in the last 12 months

see the full history below

Release timeline

18 releases · Sep 2022 to Mar 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 1.7.0 01 Mar 2026
    Release notes

    What's Changed

    • Laravel 13.x compatibility (#28)
    • Fix flag components not respecting CSS size classes
    • Fix tests for PHPUnit 12 compatibility
    Open source →
  2. 1.6.1 14 Feb 2026
    Release notes

    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 (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.

    Open source →
  3. 1.6.0 13 Feb 2026
    Release notes

    What's New

    Circle & Flat Flag Variants

    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

    Language Flag Overrides

    Override default language-to-country mappings via config:

    // config/blade-flags.php
    'language_overrides' => [
        'ar' => ['default' => 'sa'],
        'en' => ['default' => 'us'],
    ],

    JavaScript Packages

    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: 1.5.4...1.6.0

    Open source →
  4. 1.5.4 30 Aug 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.5.3...1.5.4

    Open source →
  5. 1.5.3 24 Feb 2025
    Release notes

    What's Changed

    Full Changelog: 1.5.2...1.5.3

    Open source →
  6. 1.5.2 26 Dec 2024
    Release notes

    What's Changed

    • Updated Syrian Flag to the New Free Syria Green Flag by @JamelSyr in #23

    New Contributors

    Full Changelog: 1.5.1...1.5.2

    Open source →
  7. 1.5.1 23 Apr 2024

    Nothing published for this version

  8. 1.5.0 28 Feb 2024

    Nothing published for this version

  9. 1.2.1 21 Dec 2023

    Nothing published for this version

  10. 1.2.0 19 Feb 2023

    Nothing published for this version

  11. 1.1.2 10 Jan 2023

    Nothing published for this version

  12. 1.1.1 23 Dec 2022

    Nothing published for this version

  13. 1.1.0 17 Dec 2022

    Nothing published for this version

  14. 1.0.4 08 Dec 2022

    Nothing published for this version

  15. 1.0.3 18 Nov 2022

    Nothing published for this version

  16. 1.0.2 07 Nov 2022

    Nothing published for this version

  17. 1.0.1 22 Sep 2022

    Nothing published for this version

  18. 1.0.0 21 Sep 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive