PHPackages                             matchtune-sdk/php-sdk - 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. matchtune-sdk/php-sdk

ActiveLibrary

matchtune-sdk/php-sdk
=====================

A framework library to access MatchTune API

1.0(4y ago)04proprietaryPHPPHP &gt;=5.3.0

Since Sep 27Pushed 4y agoCompare

[ Source](https://github.com/matchtune-sdk/php-sdk)[ Packagist](https://packagist.org/packages/matchtune-sdk/php-sdk)[ Docs](https://www.matchtune.com/)[ RSS](/packages/matchtune-sdk-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

MatchTune SDK for PHP
=====================

[](#matchtune-sdk-for-php)

This repository contains the open source MatchTune SDK that allows you to access the MatchTune API from your PHP app.

Installation
------------

[](#installation)

The MatchTune PHP SDK can be installed with [Composer](https://getcomposer.org/). Run this command:

```
composer require matchtune-sdk/php-sdk
```

Usage
-----

[](#usage)

Simple MatchTune Query Example

```
require_once __DIR__ . '/vendor/autoload.php'; // change path as needed

use MatchTune\MatchTune;

$api = new MatchTune(["app_token" => $app_token]);

$haserror = true;
// -- Load genre & subgenre list
if ($genres = $api->genres()) {

  // -- pick a random genre
  $genre = $genres[array_rand($genres)];

  // -- create a search query
  $query = $api->makeQuery($genre, $title = null, $tags = null);

  // -- request a standard generated music
  if ($idcard = $api->generate($query)) {
    $haserror = false;

    // -- use the data
    printIDCard($idcard);
  }
}
```

Api documentation
-----------------

[](#api-documentation)

All mechanisms developed here are documented on our [REST API documentation](https://api-doc.matchtune.com/).

License
-------

[](#license)

Please see the [license file](https://github.com/matchtune-sdk/php-sdk/blob/master/LICENSE) for more information.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you have found a security issue, please contact the support team directly at .

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

1685d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d91947feda77ca7bc78e5265ab0331d1f323c8f0cdfd95e02b21c11cbeaf19c5?d=identicon)[igalcohenhadria](/maintainers/igalcohenhadria)

---

Top Contributors

[![igalcohenhadria](https://avatars.githubusercontent.com/u/32864003?v=4)](https://github.com/igalcohenhadria "igalcohenhadria (10 commits)")

---

Tags

sdkmusicmatchtune

### Embed Badge

![Health badge](/badges/matchtune-sdk-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/matchtune-sdk-php-sdk/health.svg)](https://phpackages.com/packages/matchtune-sdk-php-sdk)
```

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.4k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

233.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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