PHPackages                             duncan3dc/sonos-common - 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. duncan3dc/sonos-common

ActiveLibrary[API Development](/categories/api)

duncan3dc/sonos-common
======================

Some utilities and interfaces for Sonos code

1.0.0(4y ago)18.1k↓13.3%1[1 PRs](https://github.com/duncan3dc/sonos-common/pulls)3Apache-2.0PHPPHP ^7.3 || ^8.0CI failing

Since Sep 13Pushed 3w ago1 watchersCompare

[ Source](https://github.com/duncan3dc/sonos-common)[ Packagist](https://packagist.org/packages/duncan3dc/sonos-common)[ Docs](https://github.com/duncan3dc/sonos-common)[ RSS](/packages/duncan3dc-sonos-common/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (8)Versions (8)Used By (3)

sonos-common
============

[](#sonos-common)

Some utilities and interfaces for Sonos code in PHP

[![release](https://camo.githubusercontent.com/aa0f646a202f400b0e0018101e6c9fb7260bdf1ef752f0f2db90ba9a312adc86/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e3364632f736f6e6f732d636f6d6d6f6e2f76657273696f6e2e737667)](https://packagist.org/packages/duncan3dc/sonos-common)[![build](https://github.com/duncan3dc/sonos-common/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=main)](https://github.com/duncan3dc/sonos-common/actions?query=branch%3Amain+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml)[![coverage](https://camo.githubusercontent.com/610629644d585559fb7a7692e4b96e2e9fe493d6f3d8e4141258f1c495dd7fa7/68747470733a2f2f636f6465636f762e696f2f67682f64756e63616e3364632f736f6e6f732d636f6d6d6f6e2f67726170682f62616467652e737667)](https://codecov.io/gh/duncan3dc/sonos-common)

Introduction
------------

[](#introduction)

This repository is mainly for internal use, you only need to depend on it if you want to type hint some of the interfaces.

It is part of several projects:

- [duncan3dc/sonos](https://github.com/duncan3dc/sonos/) Control speakers on your local networking using UPnP.
- [duncan3dc/sonos-cloud](https://github.com/duncan3dc/sonos-cloud/) Use the official Sonos API to control your speakers.
- [duncan3dc/sonos-console](https://github.com/duncan3dc/sonos-console/) A CLI tool to control speakers on your local network.

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

[](#installation)

If you're sure you want this library, then you can install it via [Composer](//getcomposer.org/).

Run the following command from your project root:

```
$ composer require duncan3dc/sonos-common
```

Where to get help
-----------------

[](#where-to-get-help)

Found a bug? Got a question? Just not sure how something works?
Please [create an issue](//github.com/duncan3dc/sonos-common/issues) and I'll do my best to help out.
Alternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance62

Regular maintenance activity

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 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

Every ~425 days

Total

4

Last Release

1573d ago

Major Versions

0.3.0 → 1.0.02022-03-13

PHP version history (2 changes)0.1.0PHP ^7.1

1.0.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/11dc66042513f11d1c99b1e6763f25dca84a3ff31cdbea3972b9b804a3d3d5e9?d=identicon)[duncan3dc](/maintainers/duncan3dc)

---

Top Contributors

[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (26 commits)")

---

Tags

apisonos

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/duncan3dc-sonos-common/health.svg)

```
[![Health](https://phpackages.com/badges/duncan3dc-sonos-common/health.svg)](https://phpackages.com/packages/duncan3dc-sonos-common)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22879.8k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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