BiFace_Server_Lite/vendor/cebe/yii2-gravatar/cebe/gravatar
2020-03-27 10:13:51 +07:00
..
.gitignore init 2020-03-27 10:13:51 +07:00
composer.json init 2020-03-27 10:13:51 +07:00
Gravatar.php init 2020-03-27 10:13:51 +07:00
LICENSE init 2020-03-27 10:13:51 +07:00
README.md init 2020-03-27 10:13:51 +07:00

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

You may also check the package information on packagist.

Usage

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