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.
v1.0.1
2019-07-22 06:44 UTC
Requires
- php: >=7.1
- yii-ui/yii2-flag-icon-css-asset-bundle: ^1.0
- yiisoft/yii2: ^2.0
Requires (Dev)
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2022-04-06 17:02:55 UTC
README
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.