jasrys/konker-laravel-facade
最新稳定版本:4.0.2
Composer 安装命令:
composer require jasrys/konker-laravel-facade
包简介
:package_description
README 文档
README
This is where your description should go. Take a look at contributing.md to see a to do list.
Installation
Via Composer
$ composer require jasrys/konker-laravel-facade
Configuration
Set these env vars (consumed by config/konker-laravel-facade.php):
KONKER_BASE_URL=https://konker.wixenmusic.com/
KONKER_ACCESS_TOKEN=your-passport-token
Usage
Read-only wrapper over Konker's /api/v1. All resource methods throw
Illuminate\Http\Client\RequestException on non-2xx responses. List/search
methods return Illuminate\Support\Collection; find() returns array.
use Jasrys\KonkerLaravelFacade\Facades\Konker; // Songs (existing — unchanged) Konker::songs()->search('free fallin'); // Collection<array> // Writers Konker::writers()->find(42); // array Konker::writers()->search('petty'); // Collection<array> // Publishers Konker::publishers()->find(99); // array Konker::publishers()->search('wix'); // Collection<array> // Recordings Konker::recordings()->find(55); // array Konker::recordings()->search('free fallin', exact: true); // Collection<array>
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.
统计信息
- 总下载量: 80
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: none
- 更新时间: 2021-08-20