2017 © Pedro Peláez
 

yii2-extension yii2-flag-icon-css

flag-icon-css extension for Yii2

image

powerkernel/yii2-flag-icon-css

flag-icon-css extension for Yii2

  • Wednesday, November 29, 2017
  • by powerkernel
  • Repository
  • 1 Watchers
  • 1 Stars
  • 402 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

Yii2 flag-icon-css

flag-icon-css extension for Yii2, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist powerkernel/yii2-flag-icon-css "*"

or add, (*4)

"powerkernel/yii2-flag-icon-css": "*"

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

Usage

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

<?= 
    \powerkernel\flagiconcss\Flag::widget([
            'tag' => 'span', // flag tag
        'country' => 'xx', // where xx is the ISO 3166-1-alpha-2 code of a country,
        'squared' => false, // set to true if you want to have a squared version flag
        'options' => [] // tag html options
    ]); 
?>

The Versions

29/11 2017

dev-master

9999999-dev

flag-icon-css extension for Yii2

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 flag-icon-css

29/11 2017

1.0.1

1.0.1.0

flag-icon-css extension for Yii2

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 flag-icon-css

27/07 2016

1.0.0

1.0.0.0

flag-icon-css extension for Yii2

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 flag-icon-css