yii-ui/yii2-flag-icon-css-widget Flag icon css widget for Yii 2.

Yii UI Yii UI - Yii2 Flag icon css - Widget

  1. Installation
  2. Usage
  3. Documentation
  4. License

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.

1 0
1 follower
4 031 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Developed by: cmoeke
Created on: Jul 22, 2019
Last updated: (not set)
Packagist Profile
Code Repository

Related Extensions