pxgamer/splas-php
Composer 安装命令:
composer require pxgamer/splas-php
包简介
A simple PHP wrapper for utilising the Unsplash api.
README 文档
README
A simple PHP wrapper for utilising the Unsplash api.
Install
Via Composer
$ composer require pxgamer/splas-php
Usage
$splas = new Splas('APP_ID');
| Functions | Parameters | Returns |
|---|---|---|
$splas->getPhotos() |
void | array |
$splas->getCuratedPhotos() |
void | array |
$splas->getRandom() |
void | array |
$splas->getPhoto($id) |
string | array |
$splas->getStats($id) |
string | array |
$splas->getLink($id) |
string | array |
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 243
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-12