baraja-core/gravatar
Composer 安装命令:
composer require baraja-core/gravatar
包简介
Simple PHP API provider for getting user Gravatar and user description.
README 文档
README
The goal of this package is to provide a simple object-oriented interface for working with Gravatar.
Simply call the method with the user's email and get back an object that describes all the data we can get about the user.
It is relatively easy to use:
$gravatar = new Gravatar; // Get icon URL - default icon size $gravatar->getIcon('jan@barasek.com'); // small icon size $gravatar->getIcon('jan@barasek.com', 32); // big icon size $gravatar->getIcon('jan@barasek.com', 255); // Get user full info as GravatarResponse $gravatar->getUserInfo('jan@barasek.com');
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-08-07