Use the official Sonos API to control your speakers
A PHP library for interacting with the official Sonos API.
The recommended method of installing this library is via Composer.
Run the following command from your project root:
$ composer require duncan3dc/sonos-cloud
I also maintain a library that allows you to control speakers on your local network:
Available as part of the Tidelift Subscription
The maintainers of duncan3dc/sonos-cloud 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.