ojooss / pluggit-api
package to interact with pluggit ventilation unit
2.2.0
2024-04-20 17:18 UTC
Requires
- php: ^8.2
- ext-sockets: *
Requires (Dev)
- ext-json: *
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.1
- phpunit/phpunit: ^11.1
- rector/rector: ^1.0
- squizlabs/php_codesniffer: ^3.9
README
PHP package for pluggit ventilation units
how to use?
Have a look at sample.php for some ideas
docker
There is a docker-compose file with three services
- sample
- test
- dev
We need customized image. Build like this:
docker-compose build
You can pass IP of ventilation unit by CLI parameter. On Linux run services like this:
PLUGGIT_IP=192.168.x.x docker-compose run --rm sample
On Windows run like this:
cmd /C "set PLUGGIT_IP=192.168.1.x && docker-compose run --rm sample"