{"id":13828532,"url":"https://github.com/duncan3dc/sonos","last_synced_at":"2025-04-06T07:12:45.751Z","repository":{"id":17511494,"uuid":"20299428","full_name":"duncan3dc/sonos","owner":"duncan3dc","description":"A PHP library for interacting with Sonos speakers","archived":false,"fork":false,"pushed_at":"2023-04-30T13:44:49.000Z","size":2477,"stargazers_count":108,"open_issues_count":11,"forks_count":31,"subscribers_count":19,"default_branch":"main","last_synced_at":"2024-04-29T01:05:45.946Z","etag":null,"topics":["php","sonos"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duncan3dc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-29T15:59:50.000Z","updated_at":"2024-06-18T21:19:11.705Z","dependencies_parsed_at":"2024-06-18T21:19:10.175Z","dependency_job_id":"c09c25da-eee7-4be6-8efe-5482f8581f4e","html_url":"https://github.com/duncan3dc/sonos","commit_stats":{"total_commits":326,"total_committers":9,"mean_commits":36.22222222222222,"dds":"0.033742331288343586","last_synced_commit":"687524b0c095008db604bfe6c97ce6b6541245a6"},"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsonos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsonos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsonos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duncan3dc%2Fsonos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duncan3dc","download_url":"https://codeload.github.com/duncan3dc/sonos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445671,"owners_count":20939958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","sonos"],"created_at":"2024-08-04T09:02:51.045Z","updated_at":"2025-04-06T07:12:45.731Z","avatar_url":"https://github.com/duncan3dc.png","language":"PHP","readme":"sonos\n=====\n\nA PHP library for interacting with [Sonos](http://www.sonos.com/) speakers.  \n\nFull documentation is available at http://duncan3dc.github.io/sonos/  \nPHPDoc API documentation is also available at [http://duncan3dc.github.io/sonos/api/](http://duncan3dc.github.io/sonos/api/namespaces/duncan3dc.Sonos.html)  \n\n[![release](https://poser.pugx.org/duncan3dc/sonos/version.svg)](https://packagist.org/packages/duncan3dc/sonos)\n[![build](https://github.com/duncan3dc/sonos/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=main)](https://github.com/duncan3dc/sonos/actions?query=branch%3Amain+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml)\n[![coverage](https://codecov.io/gh/duncan3dc/sonos/graph/badge.svg)](https://codecov.io/gh/duncan3dc/sonos)\n\n\nQuick Examples\n--------------\n\nStart all groups playing music\n```php\n$sonos = new \\duncan3dc\\Sonos\\Network;\n$controllers = $sonos-\u003egetControllers();\nforeach ($controllers as $controller) {\n    echo $controller-\u003ename . \" (\" . $controller-\u003eroom . \")\\n\";\n    echo \"\\tState: \" . $controller-\u003egetState() . \"\\n\";\n    $controller-\u003eplay();\n}\n```\n\nAdd all the tracks from one playlist to another\n```php\n$sonos = new \\duncan3dc\\Sonos\\Network;\n$protest = $sonos-\u003egetPlaylistByName(\"protest the hero\");\n$progmetal = $sonos-\u003egetPlaylistByName(\"progmetal\");\n\nforeach ($protest-\u003egetTracks() as $track) {\n    $progmetal-\u003eaddTracks($track[\"uri\"]);\n}\n```\n\n_Read more at http://duncan3dc.github.io/sonos/_  \n\n\nChangelog\n---------\nA [Changelog](CHANGELOG.md) has been available since version 0.8.8\n\n\nWhere to get help\n-----------------\nFound a bug? Got a question? Just not sure how something works?  \nPlease [create an issue](//github.com/duncan3dc/sonos/issues) and I'll do my best to help out.  \nAlternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)\n\n\n## duncan3dc/sonos for enterprise\n\nAvailable as part of the Tidelift Subscription\n\nThe 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.](https://tidelift.com/subscription/pkg/packagist-duncan3dc-sonos?utm_source=packagist-duncan3dc-sonos\u0026utm_medium=referral\u0026utm_campaign=readme)\n","funding_links":["https://tidelift.com/subscription/pkg/packagist-duncan3dc-sonos?utm_source=packagist-duncan3dc-sonos\u0026utm_medium=referral\u0026utm_campaign=readme"],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Fsonos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduncan3dc%2Fsonos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduncan3dc%2Fsonos/lists"}