lrobert/gravatar
最新稳定版本:0.1.0
Composer 安装命令:
composer require lrobert/gravatar
包简介
A library to make working with Gravatar in PHP easy.
关键字:
README 文档
README
A library to make working with Gravatar in PHP easy.
Requirements
lrobert\Gravatar requires the following:
- PHP 5.3+
Installation
It is recommended that you install the lrobert\Gravatar library through composer. To do so, add
the following lines to your composer.json.
{
"require": {
"lrobert/Gravatar": "dev-master"
}
}
Usages
The following is a basic example of the lrobert\Gravatar library.
<?php require_once('vendor/autoload.php'); $gravatar = new \lrobert\Gravatar\Gravatar(); ?> <img src="<?= $gravatar->getUrl('fake@example.com') ?>" alt="Example Avatar">
Contributing
We welcome everyone to contribute to lrobert\Gravatar. Below are some of the things that you can do to contribute:
- Read our contributing guide
- Fork us and request a pull to the develop branch
- Submit bug reports or feature requests on GitHub
统计信息
- 总下载量: 1.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-08