cebe/yii2-gravatar

Gravatar Widget for Yii 2

Installs: 1 528 652

Dependents: 40

Suggesters: 10

Security: 0

Stars: 40

Watchers: 10

Forks: 10

Open Issues: 1

Type:yii2-extension

1.1 2013-12-10 17:49 UTC

This package is auto-updated.

Last update: 2024-12-05 19:11:48 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
]) ?>