Ruckus WLAN controller API client
- PHP >= 5.6
With composer:
composer require soconnect/ruckus-client
$client = new SoConnect\RuckusClient\Client($host);
$res = $client->apConfig()->listAll();
$client = new SoConnect\RuckusClient\Client($host);
$res = $client->wlan()->createWispr($zoneId, $body);
Configuration is done using environment variables following 12-factor app methodology. Look at getenv()
PHP function for details.
.env.example
file contains possible config variables.
cp .env.example .env
docker-compose up -d
docker-compose exec client composer install
Unit & integration tests are provided in the /tests
folder. To run these tests simply run following command from the project root.
docker-compose exec client bin/phpunit
Project is using PHP-VCR
snapshots for the integration testing of Ruckus API responses integrated with PHPUnit through phpunit-testlistener-vcr
.
- See php-vcr for details
Released under the MIT License.