PHPackages                             tugmaks/yii2-flag-icons - 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. tugmaks/yii2-flag-icons

ActiveYii2-extension

tugmaks/yii2-flag-icons
=======================

yii2 world flag widget

0191PHP

Since Feb 17Pushed 11y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

yii2 world flag widget
======================

[](#yii2-world-flag-widget)

yii2 world flag widget

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist tugmaks/yii2-flag-icons "*"

```

or add

```
"tugmaks/yii2-flag-icons": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
use \tugmaks\FlagIcons\FlagIcon as FI;
