PHPackages                             jajuma/hyva-flags - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jajuma/hyva-flags

ActiveMagento2-module

jajuma/hyva-flags
=================

This Magento 2 extension provides country &amp; language icons as SVGs for Magento 2 sites using Hyvä Themes

1.0.1(2y ago)35.1k—10%1MITPHP

Since Jun 13Pushed 2y ago2 watchersCompare

[ Source](https://github.com/JaJuMa-GmbH/hyva-flags)[ Packagist](https://packagist.org/packages/jajuma/hyva-flags)[ RSS](/packages/jajuma-hyva-flags/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Hyvä Flags for Magento 2 &amp; Mage-OS with Hyvä Themes by [JaJuMa](https://www.jajuma.de/)
===========================================================================================

[](#hyvä-flags-for-magento-2--mage-os-with-hyvä-themes-by-jajuma)

[![](https://camo.githubusercontent.com/014128b7204d99b2ff9d4015a1646d52c07b14f2b9cff2accd700c1e4b4ebe57/68747470733a2f2f7777772e6a616a756d612e64652f6d656469612f777973697779672f6a616a756d612d646576656c6f702f636f756e7472792d6c616e67756167652d666c61672d69636f6e732d666f722d687976612d7468656d65732d657874656e73696f6e2f487976612d466c6167732d4d6167656e746f2d322d6c617267652e706e67)](https://camo.githubusercontent.com/014128b7204d99b2ff9d4015a1646d52c07b14f2b9cff2accd700c1e4b4ebe57/68747470733a2f2f7777772e6a616a756d612e64652f6d656469612f777973697779672f6a616a756d612d646576656c6f702f636f756e7472792d6c616e67756167652d666c61672d69636f6e732d666f722d687976612d7468656d65732d657874656e73696f6e2f487976612d466c6167732d4d6167656e746f2d322d6c617267652e706e67)

Hyvä Flags extension by [JaJuMa](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes)provides country &amp; language icons as SVGs for Magento 2 &amp; Mage-OS sites using [Hyvä Themes](https://www.jajuma.de/en/jajuma-shop/online-shop-with-magento-2-and-hyva-themes).

### Compatible with

[](#compatible-with)

   **Hyvä Themes** **Mage-OS** **Magento**   [![](https://camo.githubusercontent.com/f60465e91b61ffa12199ca4d402503c67643e56f41a569797d5dc040188ff926/68747470733a2f2f7777772e6a616a756d612e64652f6d656469612f777973697779672f6a616a756d612d73686f702f6d6167656e746f2d776974682d687976612f4a614a754d612d487976616e6175742d736d616c6c2e706e67)](https://www.jajuma.de/en/jajuma-shop/online-shop-with-magento-2-and-hyva-themes) [![](https://camo.githubusercontent.com/8efe5fbcf4d529b393fe34dbdf09084cb65dde063e8d19079d6d7240ab372b57/68747470733a2f2f7777772e6a616a756d612e64652f6d656469612f777973697779672f6a616a756d612d646576656c6f702f4d6167652d4f532d436f6d70617469626c652e737667)](https://www.jajuma.de/en/jajuma-shop/demo-shop-with-mage-os-and-hyva-themes) [![](https://camo.githubusercontent.com/8d12277ad4c5a117ed9dea3defcd4b222481b163fc2841c7538b52254a066895/68747470733a2f2f7777772e6a616a756d612e64652f6d656469612f777973697779672f6a616a756d612d646576656c6f702f6d6167656e746f2d69636f6e2e737667)](https://www.jajuma.de/en/jajuma-shop)  Features
--------

[](#features)

Hyvä Flags for Magento &amp; Mage-OS with Hyvä Themes

- includes almost 1000 country &amp; language flag icons:
    - Square Flag Icons (1:1 ratio)
    - Rectangle Flag Icons (3:2 + 4:3 ratio)
    - Official Flag Sizes &amp;
    - Circle Flag Icons
- provides 5 ViewModels for adding country &amp; language flag icons in code
- allows adding country &amp; language flag icons in CMS content from Backend.

Further Info, Extension Description &amp; Manual
------------------------------------------------

[](#further-info-extension-description--manual)

- [Extension Website EN](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/country-language-flag-icons-for-hyva-themes-extension)
- [Extension Website DE](https://www.jajuma.de/de/jajuma-develop/hyva-extensions/landes-sprachen-flaggen-icons-fuer-hyva-themes-extension)

Demo
----

[](#demo)

Country &amp; language flag icons for Hyvä Themes Demo:

- [On Hyvä Theme with Magento](https://www.jajuma.de/en/jajuma-shop/demo-shop-with-magento-2-and-hyva-themes)
- [On Hyvä Theme with Mage-OS](https://www.jajuma.de/en/jajuma-shop/demo-shop-with-mage-os-and-hyva-themes)

Icon List
---------

[](#icon-list)

List view and detail view with all included icons for copy &amp; paste the code to use the icons in your project:

- [Demo &amp; List of all included flag icons](https://www.jajuma.de/en/country-language-flag-icons-for-hyva-themes-extension/flags-demo-icon-list)

[![](https://camo.githubusercontent.com/ec1982310bb6c7f7f30dc04e931791e9fd9fbf2b656af575cc1a4787d9a4cee8/68747470733a2f2f7777772e6a616a756d612e64652f6d656469612f777973697779672f6a616a756d612d646576656c6f702f636f756e7472792d6c616e67756167652d666c61672d69636f6e732d666f722d687976612d7468656d65732d657874656e73696f6e2f687976612d666c6167732d69636f6e2d6c6973742d64656d6f2d6c617267652e6a7067)](https://camo.githubusercontent.com/ec1982310bb6c7f7f30dc04e931791e9fd9fbf2b656af575cc1a4787d9a4cee8/68747470733a2f2f7777772e6a616a756d612e64652f6d656469612f777973697779672f6a616a756d612d646576656c6f702f636f756e7472792d6c616e67756167652d666c61672d69636f6e732d666f722d687976612d7468656d65732d657874656e73696f6e2f687976612d666c6167732d69636f6e2d6c6973742d64656d6f2d6c617267652e6a7067)

> **Note**
> Need more Icons for Your [Hyvä Themes](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes) project?
> ➡️ Check our [**Awesome Hyvä for Hyvä Themes** ](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/font-awesome-icons-for-hyva-themes-extension) module for Font Awesome 5 &amp; 6 Icons

Installation
------------

[](#installation)

Install via composer as any other Magento extension from github:

```
composer require jajuma/hyva-flags

```

or get it from [Extension Website](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/country-language-flag-icons-for-hyva-themes-extension)for manual installation in `app/code/` as any other Magento extension.

Using country &amp; language flag icons in Hyvä Themes with JaJuMa "Hyvä Flags" module
--------------------------------------------------------------------------------------

[](#using-country--language-flag-icons-in-hyvä-themes-with-jajuma-hyvä-flags-module)

### How to use country &amp; language flag icons in Hyvä Themes in view models

[](#how-to-use-country--language-flag-icons-in-hyvä-themes-in-view-models)

JaJuMa "Hyvä Flags" module provides 5 view models:

- `Flagicons11`
- `Flagicons32`
- `Flagicons43`
- `FlagiconsCircle`
- `FlagiconsOfficial`

Require one of the view models in your template:

```
/** @var \Jajuma\HyvaFlags\ViewModel\Flagicons11 $flagicons11 */
$flagicons11 = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\Flagicons11::class);

```

```
/** @var \Jajuma\HyvaFlags\ViewModel\Flagicons32 $flagicons32 */
$flagicons32 = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\Flagicons32::class);

```

```
/** @var \Jajuma\HyvaFlags\ViewModel\Flagicons43 $flagicons43 */
$flagicons43 = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\Flagicons43::class);

```

```
/** @var \Jajuma\HyvaFlags\ViewModel\FlagiconsCircle $flagiconscircle */
$flagiconscircle = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\FlagiconsCircle::class);

```

```
/** @var \Jajuma\HyvaFlags\ViewModel\FlagiconsOfficial $flagiconsofficial */
$flagiconsofficial = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\FlagiconsOfficial::class);

```

Then render the icons like this:

```

```

- The method name is the camel cased icon name, followed by Html.
- In an IDE you should have autocompletion for all available methods.
- The parameters are optional, and change the class (in single quotes) followed by 2 values for width and height attributes of the SVG element.
- It is recommended to set all of them, so that the images are not rendered in huge sizes if CSS fails to load.

or you may also pass additional attributes like this as an array:

```

```

### How to use country &amp; language flag icons in Hyvä Themes in CMS content

[](#how-to-use-country--language-flag-icons-in-hyvä-themes-in-cms-content)

Awesome Hyvä module adds an icon directive to render icons in filtered content like CMS blocks or pages. So you may add icons in text / code blocks like this:

```
{{icon "flagicons/1x1/ac" classes="text-red-100" width=12 height=12}}

```

- "classes" parameter is used for setting any css class.
- "width"/"height" parameters are used for setting width/height attributes for icons.
- Hint: You may get the code snippets for copy &amp; paste for each icon on the demo - see link below.

License
-------

[](#license)

The code is licensed under the [MIT License (MIT)](https://github.com/JaJuMa/HyvaFlags/blob/master/LICENSE)

Alternative Flag Icons for Hyvä Themes
--------------------------------------

[](#alternative-flag-icons-for-hyvä-themes)

- [HyvaIconsFlags by Siteation](https://github.com/Siteation/magento2-hyva-icons-flags)

Credits
-------

[](#credits)

Credits for the SVG icons:

- Square &amp; Rectangle Format 4:3: [@lipis](https://github.com/lipis/flag-icons)
- Rectangle Format 3:2: [@catamphetamine](https://github.com/catamphetamine/country-flag-icons)
- Circle format: [@HatScripts](https://github.com/HatScripts/circle-flag)
- Official sizes: [@hampusborgos](https://github.com/hampusborgos/country-flags)

Other [Magento 2](https://www.jajuma.de/en/jajuma-develop/magento-extensions) &amp; [Hyvä Themes Extensions](https://www.jajuma.de/en/jajuma-develop/hyva-extensions) by [JaJuMa](https://www.jajuma.de/)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#other-magento-2--hyvä-themes-extensions-by-jajuma)

- 🖼️ Performance &amp; UX:
    [Ultimate Image Optimizer for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/ultimate-image-optimizer-extension-for-magento-2)
    AVIF &amp; WebP Images, Lazy Loading, High-Resolution / Retina images
- 🖼️ Performance &amp; UX:
    [WebP Optimized Images for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/webp-optimized-images-extension-for-magento-2#portfolio-content)
    The #1 WebP Images Solution for Magento 2
- 🙈 SEO:
    [PRG Pattern Link Masking for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/prg-pattern-link-masking-for-magento-2)
    Link Masking for Layered Navigation
- 👮 User Experience:
    [Shariff Social Share for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/shariff-social-share-buttons-extension-for-magento-2)
    GDPR compliant and customizable Sharing Buttons
- 🎥 Content Management:
    [Video Widget for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/video-widget-gdpr-extension-for-magento-2)
    Embedding YouTube videos, GDPR compliant with auto preview image &amp; fully responsive
- 🚀 Performance &amp; UX:
    [Page Preload for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/page-preload-extension-for-magento-2)
    Faster faster page transitions and subsequent page-loads by preloading / prefetching
- 📈 Marketing:
    [Matomo Analytics for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/honey-spam-anti-spam-extension-for-magento-2)
    Web Analytics - GDPR Compliant
- 🍯 Site Optimization:
    [Honey Spam Anti-Spam for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/honey-spam-anti-spam-extension-for-magento-2)
    Spam Protection - Reliable &amp; GDPR Compliant
- 🔔 Marketing:
    [Customer Registration Reminder &amp; Cleanup for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/customer-registration-reminder-and-cleanup-extension-for-magento-2)
    Increase Your Customer Engangement &amp; Cleanup your Customer Account Data Automatically
- 📣 UX &amp; Marketing:
    [Category Grid Callouts for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/category-grid-callouts-extension-for-magento-2)
    Enrich Your Category Grids With Eye-Catching Callouts
- 💭 UX &amp; Marketing:
    [Customer Satisfaction Feedback for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/category-grid-callouts-extension-for-magento-2)
    Collect Valuable Feedback From Your Customers &amp; Understand How To Satisfy Your Customers
- 🎇 UX:
    [Auto Select Options for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/auto-select-options-extension-for-magento-2)
    Automatically Select Configurable &amp; Custom Options Based On Your Customer's Preferences
- ↔️ UX &amp; Performance:
    [Back Forward Cache - bfcache for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/back-forward-cache-extension-for-magento-2)
    Enable bfcache for Magento 2 for improved UX &amp; Core Web Vitals
- ➗ Accounting:
    [Dynamic Shipping Tax Plus for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/proportional-pro-rata-dynamic-shipping-tax-plus-extension-for-magento-2)
    Dynamic Shipping Tax Calculation incl. pro-rata/proportional tax rates
- 🔍 Search:
    [MySQL Search for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/magento-without-elasticsearch-mysql-search-extension-for-magento-2)
    MySQL Search for Magento 2 without Elasticsearch
- ‼️ Performance:
    [Preload Critical Resources &amp; Assets](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/resource-hints-preload-critical-resources-assets-extension-for-magento-2)
    Resource Hints for preloading important and critical resources
- ![:octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png ":octocat:") Content Management:
    [git 4 Page Builder](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/git-4-page-builder-extension-for-magento-2)
    Manage &amp; deploy Magento 2 Page Builder content via git
- 🚀 Performance:
    [Hyvä Inline CSS](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/hyva-inline-css-extension-for-magento-with-hyva-themes)
    Run Magento 2 without CSS file by inline all CSS
- 👨‍💻 🆓 Content Management:
    [Syntax Highlighter 4 Page Builder](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/syntax-highlighter-4-page-builder-extension-for-magento-2)
    Syntax Highlighting and more for Magento 2 Page Builder
- 🚩 🆓 UI &amp; UX:
    [Awesome Hyvä for Hyvä Themes](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/font-awesome-icons-for-hyva-themes-extension)
    Font Awesome 5 &amp; 6 Icons for your [Hyvä Themes](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes) Store
- 🚩 🆓 UI &amp; UX:
    [Hyvä Flags for Hyvä Themes](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/country-language-flag-icons-for-hyva-themes-extension)
    Country &amp; Language Flag Icons for your [Hyvä Themes](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes) Store
- 🙆‍♂️ 🆓 User Experience:
    [Customer Navigation Manager for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/customer-navigation-manager-extension-for-magento-2)
    Easily manage the links in your Customer Account
- ➗ 🆓 Accounting:
    [Dynamic Shipping Tax for Magento 2](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/dynamic-shipping-tax-extension-for-magento-2)
    Dynamic Shipping Tax Calculation
- ❓ 🆓 Content:
    [Hyvä FAQ Widget for Hyvä Themes](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/hyva-faq-widget-extension-for-hyva-themes)
    FAQ Widget for your [Hyvä Themes](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes) Store
- 🧩 🆓 Admin Tools:
    [Magento Power Toys](https://www.jajuma.de/en/jajuma-develop/hyva-extensions/power-toys-for-magento-2)
    Tools and helpers, a.k.a "Toys", for Magento Admins

Other [Services](https://www.jajuma.de/en/jajuma/company-magento-ecommerce-agency-stuttgart) by [JaJuMa](https://www.jajuma.de/)
--------------------------------------------------------------------------------------------------------------------------------

[](#other-services-by-jajuma)

- 🛍️ [JaJuMa-Market: Marketplace Software](https://www.jajuma.de/en/jajuma-market)
    Complete Online Marketplace Software Solution. For Professional Demands. Feature Rich. Flexibly Customizable.
- 🛒 [JaJuMa-Shop](https://www.jajuma.de/en/jajuma-shop)
    Customized Magento Shop Solutions.
- 🚀 [JaJuMa-Shop: Hyvä Magento Shop Development](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes)
    Hyvä Magento Shop Development.
- 📙 [JaJuMa-Shop: Magento Handbuch in Deutsch](https://www.jajuma.de/de/jajuma-shop/magento-2-handbuch/)
    Magento Handbuch in Deutsch.
- 🗂️ [JaJuMa-PIM](https://www.jajuma.de/en/jajuma-pim)
    Product Information Management. Simple. Better.
- ➕ [JaJuMa-Develop: Magento 2 Extensions](https://www.jajuma.de/en/jajuma-develop/magento-extensions)
    Individual Solutions For Your Business Case.
- 🖌️ [JaJuMa-Design](https://www.jajuma.de/en/jajuma-design)
    Designs That Inspire.
- 👔 [JaJuMa-Consult](https://www.jajuma.de/en/jajuma-consult)
    We Show You New Perspectives.

© JaJuMa GmbH | [www.jajuma.de](www.jajuma.de)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

2

Last Release

1067d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b6fc751e28d1a0127e73bcde1ffaedbd9d73aef59fd18ed71984f516fcf8dab1?d=identicon)[jajuma](/maintainers/jajuma)

---

Top Contributors

[![JaJuMa](https://avatars.githubusercontent.com/u/12202801?v=4)](https://github.com/JaJuMa "JaJuMa (8 commits)")[![thanhnd-me](https://avatars.githubusercontent.com/u/112238478?v=4)](https://github.com/thanhnd-me "thanhnd-me (3 commits)")

---

Tags

hyvahyva-communityhyva-iconshyva-modulehyva-themesiconsjajumajajuma-gmbhmagentomagento-extension-freemagento2magento2-extensionmagento2-module

### Embed Badge

![Health badge](/badges/jajuma-hyva-flags/health.svg)

```
[![Health](https://phpackages.com/badges/jajuma-hyva-flags/health.svg)](https://phpackages.com/packages/jajuma-hyva-flags)
```

###  Alternatives

[jajuma/awesomehyva

This Magento 2 extension allows using Font Awesome 5 icons with Hyvä Themes

1349.1k](/packages/jajuma-awesomehyva)[adyen/module-hyva-checkout

Adyen Integration with Hyva Checkout

1057.3k](/packages/adyen-module-hyva-checkout)[siteation/magento2-hyva-icons-payment

Payment icons for Hyva Themes

1034.6k1](/packages/siteation-magento2-hyva-icons-payment)[elgentos/vat-switcher

Vat switcher to let customer decide on how to show their prices

1510.4k](/packages/elgentos-vat-switcher)[elgentos/magento2-hyva-cro-semi-sticky-header

Changes the Hyvä header to a semi-sticky header (dissapears down and reappears up)

161.7k](/packages/elgentos-magento2-hyva-cro-semi-sticky-header)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
