PHPackages                             teakowa/octo - 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. teakowa/octo

ActiveLibrary

teakowa/octo
============

A composer package to simple use music service API.

v1.3.0(6y ago)112Apache-2.0PHPPHP &gt;=7.1.3CI failing

Since Aug 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Teakowa/Octo)[ Packagist](https://packagist.org/packages/teakowa/octo)[ RSS](/packages/teakowa-octo/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (8)Versions (9)Used By (0)

Octo
====

[](#octo)

A composer package to simple use music service API.

[![Travis (.org)](https://camo.githubusercontent.com/c5a3830650f14bc29e67791b663c8f3375e2a0ed28972804e702c60e0c80050d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7465616b6f77612f6f63746f3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c5a3830650f14bc29e67791b663c8f3375e2a0ed28972804e702c60e0c80050d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7465616b6f77612f6f63746f3f7374796c653d666c61742d737175617265)[![StyleCI](https://camo.githubusercontent.com/a2d4a72d8b0c5aa42bfc3024a72bf90034e227e75466ed78405d16d17c0a6f42/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3139393832333132392f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/199823129)[![PHP from Packagist](https://camo.githubusercontent.com/8d0b99ccbd2789f4f862cebc10e1b213f31c008095df43eab2397485e762bc1b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7465616b6f77612f6f63746f3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8d0b99ccbd2789f4f862cebc10e1b213f31c008095df43eab2397485e762bc1b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7465616b6f77612f6f63746f3f7374796c653d666c61742d737175617265)[![Packagist Version](https://camo.githubusercontent.com/4369923edc0f15ad7807baca14b0c30e36cd7d2886f0b2bdb1fd108e588e4763/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7465616b6f77612f6f63746f3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teakowa/octo)[![LICENSE](https://camo.githubusercontent.com/c613fa8a331ccbe74fcf817bb6e5f42fba7bad4d71a0f273be5bd868bebd7214/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d416e74692532303939362d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/996icu/996.ICU/blob/master/LICENSE)[![LICENSE](https://camo.githubusercontent.com/e6257f9c8af0b485f331e3b31b6e6d10dba910e451b2f5b7bdadfa28d0bb56a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4170616368652d2d322e302d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://www.apache.org/licenses/LICENSE-2.0)[![996.icu](https://camo.githubusercontent.com/4fbb402a9a9db6e0a9bc62076d2075ebe16e803956309bfbe825f2fa59cf3d19/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c696e6b2d3939362e6963752d7265642e7376673f7374796c653d666c61742d737175617265)](https://996.icu)

Feature
-------

[](#feature)

We have supported the following music service providers:

- Kugou
- Tencent

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

[](#installation)

```
composer require teakowa/octo
```

Usage
-----

[](#usage)

```
use Teakowa\Octo\Adapter\Headers;
use Teakowa\Octo\Adapter\Guzzle as Adapter;
use Teakowa\Octo\Provider\Kugou;
use Teakowa\Octo\Provider\Tencent;

$adapter = new Adapter(new Headers());
$data    = new API($adapter);
$kugou   = new Kugou($adapter);
$tencent = new Tencent($adapter);
```

### Kugou

[](#kugou)

```
$kugou->artist($id)->info();
$kugou->artist($id)->pic();
$kugou->artist($id)->fans();
$kugou->song($hash)->info();
$kugou->song($hash)->special();
```

### Tencent

[](#tencent)

```
$tencent->artist($id)->info();
$tencent->album($mid)->pic();
$tencent->song($mid)->info();
```

LICENSE
-------

[](#license)

The code in this repository, unless otherwise noted, is under the terms of both the [Anti 996](https://github.com/996icu/996.ICU/blob/master/LICENSE) License and the [Apache License (Version 2.0)](https://www.apache.org/licenses/LICENSE-2.0).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

Every ~66 days

Total

5

Last Release

2210d ago

PHP version history (2 changes)v1.0.0PHP ^7.1.3

v1.1.0PHP &gt;=7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a4d2045a2050b2bc892d20b35784b82d37ee456e914d05ddf132ec349dea7e6?d=identicon)[teakowa](/maintainers/teakowa)

---

Top Contributors

[![Teakowa](https://avatars.githubusercontent.com/u/27560638?v=4)](https://github.com/Teakowa "Teakowa (6 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

music apitencentphp musickugou

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/teakowa-octo/health.svg)

```
[![Health](https://phpackages.com/badges/teakowa-octo/health.svg)](https://phpackages.com/packages/teakowa-octo)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k511.3M2.2k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M467](/packages/saloonphp-saloon)[google/cloud

Google Cloud Client Library

1.2k16.2M54](/packages/google-cloud)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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