jasrys / konker-laravel-facade
:package_description
Requires
- php: ^8.1
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^9.0|^10.0|^11.0
- phpunit/phpunit: ^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.