prsw/docker-php

v0.2.1 2025-01-04 15:08 UTC

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);
}