yii-ui/yii2-flag-icon-css-asset-bundle

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

Flag icon css asset bundle for Yii 2.

v1.0.0 2019-07-19 07:11 UTC

This package is auto-updated.

Last update: 2022-04-06 17:29:51 UTC


README

Latest Stable Version Total Downloads Yii2 License

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

If you are looking for a widget, please install yii-ui/yii2-flag-icon-css-widget.

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

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

to the require section of your composer.json file.

Usage

in your layout file (ex. views/layouts/main.php):

\yiiui\yii2flagiconcss\assets\FlagIconCssAsset::register($this);

or as dependency in your app asset bundle:

namespace app\assets;

use yii\web\AssetBundle;

class AppAsset extends AssetBundle
{
    public $sourcePath = '@app/assets';

    public $js = [
        'js/main.js',
    ];

    public $css = [
        'css/main.scss',
    ];

    public $depends = [
        'yiiui\yii2flagiconcss\assets\FlagIconCssAsset'
    ];
}

See https://www.yii-ui.com/packages/yii2-flag-icon-css-asset-bundle 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-asset-bundle/docs.

License

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