cebe/yii2-gravatar Gravatar Widget for Yii 2

yii2-gravatar

  1. How to install?
  2. Usage

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
]) ?>
1 0
2 followers
380 409 downloads
Yii Version: 2.0
License: MIT
Category: User Interface
Tags: gravatar
Developed by: CeBe
Created on: Apr 6, 2018
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions