PHPackages                             ecxod/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. [Localization &amp; i18n](/categories/localization)
4. /
5. ecxod/flags

ActiveLibrary[Localization &amp; i18n](/categories/localization)

ecxod/flags
===========

Some flags to use with i18n

v1.0.0(1y ago)01MIT

Since Dec 25Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Flags (ecxod/flags)
===================

[](#flags-ecxodflags)

Description
-----------

[](#description)

This library supplies a folder containig following flags to use with i18n.
It was originally designed as part of the `ecxod` framework, but it can be used in any other `symfony` project, to use the flags directly from the vendor folder:

Abkhazia, Afghanistan, Aland, Albania, Algeria, American-Samoa, Andorra, Angola, Anguilla, Antarctica, Antigua-and-Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Basque-Country, Belarus, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bosnia-and-Herzegovina, Botswana, Brazil, British-Antarctic-Territory, British-Virgin-Islands, Brunei, Bulgaria, Burkina-Faso, Burundi, Cambodia, Cameroon, Canada, Canary-Islands, Cape-Verde, Cayman-Islands, Central-African-Republic, Chad, Chile, China, Christmas-Island, Cocos-Keeling-Islands, Colombia, Commonwealth, Comoros, Cook-Islands, Costa-Rica, Cote-dIvoire, Croatia, Cuba, Curacao, Cyprus, Czech-Republic, Democratic-Republic-of-the-Congo, Denmark, Djibouti, Dominican-Republic, Dominica, East-Timor, Ecuador, Egypt, El-Salvador, England, Equatorial-Guinea, Eritrea, Estonia, Ethiopia, European-Union, Falkland-Islands, Faroes, Fiji, Finland, France, French-Polynesia, French-Southern-Territories, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, GoSquared, Greece, Greenland, Grenada, Guam, Guatemala, Guernsey, Guinea-Bissau, Guinea, Guyana, Haiti, Honduras, Hong-Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Isle-of-Man, Israel, Italy, Jamaica, Japan, Jersey, Jordan, Kazakhstan, Kenya, Kiribati, Kosovo, Kuwait, Kyrgyzstan, Laos, Latvia, Lebanon, Lesotho, Liberia, Libya, Liechtenstein, Lithuania, Luxembourg, Macau, Macedonia, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall-Islands, Mars, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Montserrat, Morocco, Mozambique, Myanmar, Nagorno-Karabakh, Namibia, NATO, Nauru, Nepal, Netherlands-Antilles, Netherlands, New-Caledonia, New-Zealand, Nicaragua, Nigeria, Niger, Niue, Norfolk-Island, Northern-Cyprus, Northern-Mariana-Islands, North-Korea, Norway, Olympics, Oman, Pakistan, Palau, Palestine, Panama, Papua-New-Guinea, Paraguay, Peru, Philippines, Pitcairn-Islands, Poland, Portugal, Puerto-Rico, Qatar, Red-Cross, Republic-of-the-Congo, Romania, Russia, Rwanda, Saint-Barthelemy, Saint-Helena, Saint-Kitts-and-Nevis, Saint-Lucia, Saint-Martin, Saint-Vincent-and-the-Grenadines, Samoa, San-Marino, Sao-Tome-and-Principe, Saudi-Arabia, Scotland, Senegal, Serbia, Seychelles, Sierra-Leone, Singapore, Slovakia, Slovenia, Solomon-Islands, Somalia, Somaliland, South-Africa, South-Georgia-and-the-South-Sandwich-Islands, South-Korea, South-Ossetia, South-Sudan, Spain, Sri-Lanka, Sudan, Suriname, Swaziland, Sweden, Switzerland, Syria, Taiwan, Tajikistan, Tanzania, Thailand, Togo, Tokelau, Tonga, Trinidad-and-Tobago, Tunisia, Turkey, Turkmenistan, Turks-and-Caicos-Islands, Tuvalu, Uganda, Ukraine, United-Arab-Emirates, United-Kingdom, United-Nations, United-States, Unknown, Uruguay, US-Virgin-Islands, Uzbekistan, Vanuatu, Vatican-City, Venezuela, Vietnam, Wales, Wallis-And-Futuna, Western-Sahara, Yemen, Zambia, Zimbabwe

The flags are in `png`, `icns` and `ico` format.

Content of the package
----------------------

[](#content-of-the-package)

```
tree -d flags
flags
├── flags
│   ├── flat
│   │   ├── 16 (png)
│   │   ├── 24 (png)
│   │   ├── 32 (png)
│   │   ├── 48 (png)
│   │   ├── 64 (png)
│   │   ├── icns
│   │   └── ico
│   └── shiny
│       ├── 16 (png)
│       ├── 24 (png)
│       ├── 32 (png)
│       ├── 48 (png)
│       ├── 64 (png)
│       ├── icns
│       └── ico
└── flags-iso
    ├── flat
    │   ├── 16 (png)
    │   ├── 24 (png)
    │   ├── 32 (png)
    │   ├── 48 (png)
    │   ├── 64 (png)
    │   ├── icns
    │   └── ico
    └── shiny
        ├── 16 (png)
        ├── 24 (png)
        ├── 32 (png)
        ├── 48 (png)
        ├── 64 (png)
        ├── icns
        └── ico

```

Install
-------

[](#install)

```
php composer.phar require ecxod/flags
```

We assume that your web space is in `/public`, and that you apply the `symfony` convention, according to which such images are usually located in the `/public/assets/images` folder.

After installing composer will create a link from the vendor folder containig the flag pictures to the workspace into `public/assets/images`, As shown in the lower tree.

```
├── public
│   └── assets
│       └── images
│           └── flags -> ../../vendor/ecxod/flags
├── vendor
│   └── ecxod
│       └── flags
            ├── flags
                ├── flags
                    ├── flat
                        ├── 16
                        ├── 24
                        ├── ...
                │   │   └── ico
                │   └── shiny
                ├── flags-iso
                │   ├── flat
                        ├── 16
                        ├── 24
                        ├── ...

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance40

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

509d ago

### Community

Maintainers

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

---

Top Contributors

[![ecxod](https://avatars.githubusercontent.com/u/102165928?v=4)](https://github.com/ecxod "ecxod (3 commits)")

---

Tags

ecxod-framework

### Embed Badge

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

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

###  Alternatives

[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[statikbe/laravel-chained-translator

The Laravel Chained Translator can combine several translators that can override each others translations.

36149.4k6](/packages/statikbe-laravel-chained-translator)

PHPackages © 2026

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