yii-ui/yii2-flag-icon-css-widget

This package is abandoned and no longer maintained. No replacement package was suggested.

Flag icon css widget for Yii 2.

Installs: 3 898

Dependents: 1

Suggesters: 0

Security: 0

Type:yii2-extension

v1.0.1 2019-07-22 06:44 UTC

This package is auto-updated.

Last update: 2022-04-06 17:02:55 UTC


README

Latest Stable Version Total Downloads Yii2 License

This is an Yii framework 2.0 widget of the Lipis flag-icon-css package.

If you are looking for the asset bundle, please install yii-ui/yii2-flag-icon-css-asset-bundle.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require yii-ui/yii2-flag-icon-css-widget

or add

"yii-ui/yii2-flag-icon-css-widget": "^1.0"

to the require section of your composer.json file.

Usage

use yiiui\yii2flagiconcss\widget\FlagIcon;

echo FlagIcon::widget([
    'countryCode' => 'de',
    'options' => [
        'class' => 'example-flag'
    ],
    'squared' => true,
]);

See https://www.yii-ui.com/packages/yii2-flag-icon-css-widget for more infos. For plugin configuration see Lipis flag-icon-css Documentation.

Documentation

Documentation can be found at https://www.yii-ui.com/packages/yii2-flag-icon-css-widget/docs.

License

yii2-flag-icon-css-widget is released under the MIT License. See the LICENSE for details.