PHP code example of elyes / sonos-wrapper
1. Go to this page and download the library: Download elyes/sonos-wrapper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
elyes / sonos-wrapper example snippets
$api = new \Elyes\SonosWrapper\Api()->getCategories();
$api = new \Elyes\SonosWrapper\Api()->getProductsByCategory(String $category);
$api = new \Elyes\SonosWrapper\Api()->getProduct(String $product);
bash
php vendor/bin/phpstan analyze src --level=max