Skip to content

ArchBlood/yii2-gravatar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-gravatar

Gravatar Widget for Yii Framework 2

How to install?

Get it via composer by adding the package to your composer.json:

{
  "require": {
    "cebe/yii2-gravatar": "^1.0"
  }
}

Alternatively just run composer require cebe/yii2-gravatar.

You may also check the package information on packagist and follow the extension page on yiiframework.com for udpates.

Usage

<?= \cebe\gravatar\Gravatar::widget([
    'email' => Yii::$app->user->getIdentity()->email,
    'options' => [
        'alt' => 'Carsten Brandt'
    ],
    'size' => 32
]) ?>

About

Gravatar Widget for Yii Framework 2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%