jasrys/konker-laravel-facade

:package_description

Maintainers

Package info

github.com/Wixen-Music/konker-laravel-facade

Homepage

pkg:composer/jasrys/konker-laravel-facade

Statistics

Installs: 80

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

4.0.2 2026-02-24 19:16 UTC

This package is auto-updated.

Last update: 2026-05-05 14:25:32 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

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.