PHPackages                             tokenly/music-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. tokenly/music-api-client

ActiveLibrary[API Development](/categories/api)

tokenly/music-api-client
========================

A client to call the Tokenly Music APIs

v1.0.0(10y ago)014MITPHPPHP &gt;=5.5.0

Since Apr 5Pushed 10y ago3 watchersCompare

[ Source](https://github.com/tokenly/music-api-client)[ Packagist](https://packagist.org/packages/tokenly/music-api-client)[ RSS](/packages/tokenly-music-api-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Tokenly Music API client.
=========================

[](#tokenly-music-api-client)

Use this client to call the Tokenly Music API.

[![Build Status](https://camo.githubusercontent.com/01040cd95ea076a7be5cfb212b95b79cbc9e8f8668e3300c824946f160b5669e/68747470733a2f2f7472617669732d63692e6f72672f746f6b656e6c792f6d757369632d6170692d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tokenly/music-api-client.svg)

Installation
============

[](#installation)

### Add the package via composer

[](#add-the-package-via-composer)

```
composer require tokenly/music-client
```

### Create and use the API client

[](#create-and-use-the-api-client)

```
// login with the public API client
$public_tokenly_api = new Tokenly\APIClient\TokenlyAPI('https://music-stage.tokenly.com/api/v1');
$public_music_api = new Tokenly\MusicClient\MusicAPI($public_tokenly_api);
$user_details = $public_music_api->login('myusername', 'mypassword');
$client_id = $user_details['apiToken'];
$secret_key = $user_details['apiSecretKey'];

// Once you have the client id and key, you can use the protected API client to call protected methods
$protected_tokenly_api = new Tokenly\APIClient\TokenlyAPI('https://music.tokenly.com/api/v1', new Tokenly\HmacAuth\Generator(), $client_id, $secret_key);
$protected_music_api = new Tokenly\MusicClient\MusicAPI($protected_tokenly_api);
$songs_array = $protected_music_api->getMySongs();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3692d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b86e6a54873d5dd61d3682a3be00127af3b7b2b5c53eb070b160e29789d4c0d?d=identicon)[dweller](/maintainers/dweller)

---

Top Contributors

[![deweller](https://avatars.githubusercontent.com/u/51414?v=4)](https://github.com/deweller "deweller (6 commits)")

---

Tags

apiclientmusictokenly

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tokenly-music-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/tokenly-music-api-client/health.svg)](https://phpackages.com/packages/tokenly-music-api-client)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
