prsw / docker-php
Docker PHP SDK
v0.2.1
2025-01-04 15:08 UTC
Requires
- amphp/http-client: ^5.2.1
- amphp/http-client-psr7: ^1.1
- jane-php/open-api-runtime: ^7.8
- laminas/laminas-diactoros: ^3.5
Requires (Dev)
- jane-php/open-api-2: ^7.8
This package is auto-updated.
Last update: 2025-01-04 15:09:17 UTC
README
Rewrite version of Docker PHP
Dependencies:
Not all streaming based endpoint have implemented yet.
Usage
use PRSW\Docker\Client; $client = Client::withHttpClient(); $res = $client->systemEvents(fetch: Client::FETCH_STREAM); forach ($res->stream() as $event) { var_dump($event); }