Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 736 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 736 Bytes

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' => '[email protected]',
    'options' => [
        'alt' => 'Carsten Brandt'
    ],
    'size' => 32
]) ?>