2017 © Pedro Peláez
 

library sonos

Control Sonos speakers using a simple API

image

duncan3dc/sonos

Control Sonos speakers using a simple API

  • Sunday, July 29, 2018
  • by duncan3dc
  • Repository
  • 21 Watchers
  • 77 Stars
  • 6,357 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 22 Forks
  • 7 Open issues
  • 81 Versions
  • 4 % Grown

The README.md

sonos

A PHP library for interacting with Sonos speakers., (*1)

Full documentation is available at http://duncan3dc.github.io/sonos/
PHPDoc API documentation is also available at http://duncan3dc.github.io/sonos/api/, (*2)

release build coverage, (*3)

Quick Examples

Start all groups playing music, (*4)

$sonos = new \duncan3dc\Sonos\Network;
$controllers = $sonos->getControllers();
foreach ($controllers as $controller) {
    echo $controller->name . " (" . $controller->room . ")\n";
    echo "\tState: " . $controller->getState() . "\n";
    $controller->play();
}

Add all the tracks from one playlist to another, (*5)

$sonos = new \duncan3dc\Sonos\Network;
$protest = $sonos->getPlaylistByName("protest the hero");
$progmetal = $sonos->getPlaylistByName("progmetal");

foreach ($protest->getTracks() as $track) {
    $progmetal->addTracks($track["uri"]);
}

Read more at http://duncan3dc.github.io/sonos/, (*6)

Changelog

A Changelog has been available since version 0.8.8, (*7)

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter, (*8)

duncan3dc/sonos for enterprise

Available as part of the Tidelift Subscription, (*9)

The maintainers of duncan3dc/sonos and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more., (*10)

The Versions

19/02 2017

dev-google-unlimited

dev-google-unlimited https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

04/10 2016

1.9.3

1.9.3.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

12/09 2016

1.9.2

1.9.2.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

13/03 2016

1.9.1

1.9.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

12/03 2016

1.9.0

1.9.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

10/01 2016

1.8.0

1.8.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

28/11 2015

1.7.4

1.7.4.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

19/11 2015

1.7.3

1.7.3.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

18/10 2015

1.7.2

1.7.2.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

16/10 2015

1.7.1

1.7.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

19/09 2015

1.7.0

1.7.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

16/09 2015

1.6.1

1.6.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

09/09 2015

1.6.0

1.6.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

08/09 2015

1.5.1

1.5.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

29/08 2015

1.5.0

1.5.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

16/08 2015

1.4.2

1.4.2.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

18/07 2015

1.4.1

1.4.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

15/06 2015

1.4.0

1.4.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

30/05 2015

1.3.5

1.3.5.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

30/05 2015

1.3.1

1.3.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

30/05 2015

1.3.0

1.3.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

29/04 2015

1.2.0

1.2.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

17/04 2015

1.1.4

1.1.4.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

16/03 2015

1.1.3

1.1.3.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

12/03 2015

1.1.2

1.1.2.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

12/03 2015

1.1.1

1.1.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

27/02 2015

1.1.0

1.1.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

30/01 2015

1.0.6

1.0.6.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

18/01 2015

1.0.5

1.0.5.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

18/01 2015

1.0.4

1.0.4.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

06/01 2015

1.0.3

1.0.3.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

05/01 2015

1.0.2

1.0.2.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

30/12 2014

1.0.1

1.0.1.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

30/12 2014

1.0.0

1.0.0.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

streaming upnp sonos

03/12 2014

0.8.8

0.8.8.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

03/12 2014

0.8.7

0.8.7.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

07/11 2014

0.8.6

0.8.6.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

07/11 2014

0.8.5

0.8.5.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

07/11 2014

0.8.4

0.8.4.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

28/10 2014

0.8.3

0.8.3.0 https://github.com/duncan3dc/sonos

Control Sonos speakers using a simple API

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

05/09 2014

0.8.2

0.8.2.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

28/07 2014

0.8.1

0.8.1.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

27/07 2014

0.8.0

0.8.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

27/07 2014

0.7.6

0.7.6.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

27/07 2014

0.7.5

0.7.5.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

26/07 2014

0.7.4

0.7.4.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

20/06 2014

0.7.3

0.7.3.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

20/06 2014

0.7.2

0.7.2.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

20/06 2014

0.7.1

0.7.1.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

20/06 2014

0.7.0

0.7.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

08/06 2014

0.6.1

0.6.1.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

01/06 2014

0.6.0

0.6.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

 

streaming upnp sonos

01/06 2014

0.5.0

0.5.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • ext-simplexml *
  • ext-soap *
  • ext-sockets *
  • php >=5.4.0

 

streaming upnp sonos

01/06 2014

0.4.0

0.4.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • ext-simplexml *
  • ext-soap *
  • ext-sockets *
  • php >=5.4.0

 

streaming upnp sonos

29/05 2014

0.3.0

0.3.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • ext-simplexml *
  • ext-soap *
  • ext-sockets *
  • php >=5.4.0

 

streaming upnp sonos

29/05 2014

0.2.0

0.2.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • ext-simplexml *
  • ext-soap *
  • ext-sockets *
  • php >=5.4.0

 

streaming upnp sonos

29/05 2014

0.1.0

0.1.0.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • ext-simplexml *
  • ext-soap *
  • ext-sockets *
  • php >=5.4.0

 

streaming upnp sonos

29/05 2014

0.0.2

0.0.2.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • ext-simplexml *
  • ext-soap *
  • ext-sockets *
  • php >=5.4.0

 

streaming upnp sonos

29/05 2014

0.0.1

0.0.1.0 https://github.com/duncan3dc/sonos

A class to control Sonos speakers

  Sources   Download

Apache-2.0

The Requires

  • ext-curl *
  • ext-simplexml *
  • ext-sockets *
  • php >=5.4.0

 

streaming upnp sonos