PHP library to connect to swiss unihockey API V2.
## Development with Docker
Use this command to bring up the Docker container with PHP, xDebug, PHPUnit, Composer and Grunt
xdebug_listener_ip=`ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}'`
docker run -it --volume $PWD:/var/www/html -e XDEBUG_CONFIG="remote_host=$xdebug_listener_ip remote_port=9000 remote_enable=1 idekey=PHPSTORM" -e PHP_IDE_CONFIG="serverName=docker-xdebug" phpdocker/phpdocker /bin/bash
- Open preferences
- Go to
Languages & Frameworks -> PHP -> Debug -> Servers - Add a server with name
docker-xdebug - Configure project root with remote path
/var/www/html
### Testing ###
- Install dependencies with composer
composer install/composer update - Run tests
vendor/bin/phpunit --configuration phpunit.xml --testsuite unit - Run specific test
php -d$XDEBUG_EXT vendor/bin/phpunit --configuration phpunit.xml --testsuite unit --filter testGetRankingsForLigaTeam