docker-php/docker-php-api
Generated OpenAPI client for the Docker API, produced with Jane OpenAPI. This package is no longer maintained; use docker-php instead. It does not follow semver—versions track Jane and Docker API versions, so pin the first three numbers.
v7.1.56.3 contradicts the second claim: the 7.1.56.x line explicitly targets Docker Engine API v1.56, well beyond the previously cited baseline. The package should be reclassified from abandoned to "maintained at low cadence" — still not the preferred choice, but for different reasons than previously stated.v7.1.56.3 is a chore-only release — removal of funding links from composer.json and the repository. The release notes confirm "the generated code and dependency constraints are the same as 7.1.56.2." All functional value (API v1.56 targeting) landed in 7.1.56.2, not here. Treat 7.1.56.3 as a hygiene/no-op pin bump, not a capability upgrade.7.1.<dockerApiMinor>.<patch> maps directly onto the Docker Engine API minor version, and the maintainers publish an explicit constraint window (>=7.1.56.0 <7.1.57.0). This is a deliberate and defensible convention, not arbitrary. The real constraint is different: you must pin within an API line, and crossing API lines is a deliberate, tested upgrade, not a patch bump.docker-php/docker notice has been withdrawn. This is now the single most important open question.docker-php/docker.>=7.1.56.0 <7.1.57.0 it targets a current Docker Engine API and will not silently drift. The blocker is fit, not viability: you would be adopting an unopinionated generated client into a framework that expects opinionated bindings, and writing the Laravel glue yourself.docker-php/docker — still the default recommendation for a full SDK surface; verify its current API-version coverage, since this release suggests docker-php/docker-php-api may now be ahead on API v1.56 support.Illuminate\Support\Facades\Http is lower total cost than either SDK and gives you native retries, logging, and test fakes.symfony/process / Laravel Process — for CLI-shaped operations; no generated-code surface to audit.docker-php/docker should be validated by spike rather than assumed — the prior assessment's "trivial" characterization was asserted, not tested.| Risk Area | Severity | Change vs. Prior | Mitigation |
|---|---|---|---|
| Deprecation / upstream direction | High | Downgraded from Critical | Confirm README/upstream notice status before adopting; treat as unresolved |
| API drift | Low | Downgraded from High | API v1.56 target + documented constraint window; pin >=7.1.56.0 <7.1.57.0 |
| Security patches | Medium | Downgraded from High | Active regeneration cadence implies reachable fixes; still verify advisory response history |
| Versioning / CI-CD | Low | Downgraded from Medium | Scheme is API-aligned and documented; enforce the window in composer.json and CI |
| Dependency bloat (Jane generator) | Medium | Unchanged | Audit transitive tree; roave/security-advisories in CI |
| Missing Laravel idioms | Medium | Newly promoted | Budget for your own service provider, config, and test doubles |
| Release quality signal | Medium | New | Chore-only releases inflate version count; do not read cadence as responsiveness |
docker-php/docker instead" guidance is gone. This single answer flips the recommendation.docker-php/docker still current on API versions? If the official SDK lags at v1.45–v1.48 while this package is at v1.56, the prior "just use the official SDK" advice needs qualification — the maintained option may now be the less current one.>=7.1.56.0 <7.1.57.0 is correct, but it means Docker Engine upgrades require a coordinated package bump. Who owns that cadence, and how much lead time is needed?DockerServiceProvider, a config file for socket/host/TLS settings, and a binding to the generated client."docker-php/docker-php-api": ">=7.1.56.0 <7.1.57.0" in composer.json and add a CI check that fails outside the window. Do not use ^ — it would permit an API-line jump the maintainers explicitly warn against.docker-php/docker — if an opinionated SDK is acceptable.Http::fake() for free.Process facade — for CLI-shaped operations only.docker-php/docker, stop — the prior recommendation stands.docker-php/docker.| Component | Compatibility Risk | Notes |
|---|---|---|
| Docker Engine | Low | API v1.56 target resolves the prior High rating; verify your daemon's API version is within the supported window. |
| Laravel | Medium | No native bindings; you supply provider, config, and fakes. |
| PHP Version | Low–Medium | Confirm the floor for the 7.1.56.x line against your runtime matrix. |
| CI/CD | Low | Downgraded from Medium — scheme is API-aligned and the constraint window is documented. |
docker-php/docker coexistence |
Medium | Do not run both; namespaces and generated clients overlap conceptually and invite accidental cross-use. |
docker-php/docker API coverage, and your true API-version requirement. This release changes the facts; re-baseline before any code moves.7.1.56.x → 7.1.57.x) as minor-version migrations requiring test passes, not patch updates.v7.1.56.3 is a funding-link removal. High release count is not proof of responsiveness — it is proof the pipeline runs. Judge maintenance on issue triage latency and security-advisory turnaround, neither of which this release evidences.roave/security-advisories in CI.docker-php/docker. Forums and Stack Overflow answers will be sparse — expect to read the Docker API spec directly.Illuminate\Support\Facades\Http, or Process/symfony/process for CLI-shaped operations. Both are viable and require no third-party client.docker-php/docker. Under fan-out (many containers, many hosts) this becomes the binding constraint.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Deprecation notice still active | Adopting a package the maintainers steer you away from | Confirm in Phase 1; if still active, do not adopt |
| Docker API version mismatch | Breaking changes in production | Pin >=7.1.56.0 <7.1.57.0; CI guard on constraint drift |
| API-line upgrade forced by Engine upgrade | Coordinated migration, not a patch bump | Treat 7.1.56.x → 7.1.57.x as a planned minor migration with test gates |
Silent constraint drift (^ operator) |
Unintended API-line jump | Ban ^ for this package; enforce window in composer.json and CI |
| No Laravel integration surface | Glue code rots unowned | Assign explicit ownership; wrap behind an internal interface |
| Upstream slows or stops | No security fixes on a new timeline | Wrapper enables swap to HTTP client or docker-php/docker in one file |
| Network timeouts to daemon | Operations hang | Retries with backoff at the wrapper layer |
^.7.1.<apiMinor>.<patch> mirrors the Docker Engine API and that the constraint window is not negotiable.Http::fake()-style testing for socket-based calls.How can I help you explore Laravel packages today?