cebe/yii2-gravatar

Gravatar Widget for Yii 2

Installs: 665 018

Dependents: 41

Suggesters: 8

Security: 0

Stars: 36

Watchers: 8

Forks: 9

Open Issues: 1

Type:yii2-extension

1.1 2013-12-10 17:49 UTC

This package is auto-updated.

Last update: 2020-05-05 09:00:06 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": "^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' => 'mail@cebe.cc',
    'options' => [
        'alt' => 'Carsten Brandt'
    ],
    'size' => 32
]) ?>