2017 © Pedro Peláez
 

yii2-extension yii2-flag-icons

yii2 world flag widget

image

tugmaks/yii2-flag-icons

yii2 world flag widget

  • Tuesday, February 17, 2015
  • by tugmaks
  • Repository
  • 0 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2 world flag widget

yii2 world flag widget, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

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

or add, (*4)

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

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

php use \tugmaks\FlagIcons\FlagIcon as FI; <?= FI::widget([ 'size'=> FI::64, 'iso'=>'RU', // Alpha 2 code 'options'=>[ 'alt'=>'', 'title=>'', ], ]); ?>, (*7)

Images source - http://www.icondrawer.com/flag-icons.php, (*8)

The Versions

17/02 2015

dev-master

9999999-dev

yii2 world flag widget

  Sources   Download

MIT

The Requires

 

by Maxim Tugaev

extension yii2