cebe/yii2-gravatar

Gravatar Widget for Yii 2

Installs: 17 765

Dependents: 21

Stars: 13

Watchers: 4

Forks: 4

Language: PHP

1.1 2013-12-10 17:49 UTC

README

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": "*"
  }
}

Alternatively just run composer require cebe/yii2-gravatar.

You may also check the package information on packagist.

Usage

<?= \cebe\gravatar\Gravatar::widget([
    'email' => 'mail@cebe.cc',
    'options' => [
        'alt' => 'Carsten Brandt'
    ],
    'size' => 32
]) ?>