krymosoftware/php-k8s
A PHP package for integrating Kubernetes into your applications, providing convenient access to Kubernetes APIs for querying clusters, managing resources, and automating common cluster operations from PHP code.
cURL-against-the-API-server engineering into maintenance, so the decision is really “do we staff a K8s client we own, or do we consume this and contribute upstream?”ratchet/pawl bump matters for streaming reliability), cluster orchestration helpers with named arguments (readability and forward-compatibility in our own wrapper code), and resource lifecycle/age surfaced in UIs via the newly exposed creation timestamp — that last one is a small but genuine end-user-visible feature for any “what’s running and how old is it” view.Consider it when:
Look elsewhere when:
kubectl-equivalent calls at deploy time. Shelling out or using a thin HTTP wrapper may cost less than the dependency.Migration note for existing adopters: the removal of Laravel support and PHP 8.2 are breaking changes; despite the minor version number, plan this as a coordinated upgrade with a platform-baseline bump and a re-validation of any in-house Laravel glue you built on top of the previous integration.
To executives (one paragraph): We evaluated a PHP library that lets our product drive Kubernetes directly instead of us building that integration from scratch. The new 3.9.0 release is a scope and risk event, not a feature release: the maintainer has deliberately removed the Laravel integration and dropped PHP 8.2, while fixing PHP 8.4 compatibility and improving streaming reliability. The practical consequence is that we can still get the core capability — but any convenience we were implicitly counting on from the Laravel side is now our own engineering cost, and our supported PHP baseline moves forward. The recommendation is to adopt the framework-agnostic library where we have a concrete need, explicitly budget roughly the glue work, and treat PHP 8.2 retirement as a scheduled item rather than an incident. The upside: real operational features on the roadmap (per-customer environments, cluster visibility, resource lifecycle in the UI) become deliverable in PHP rather than requiring a separate service in another language.
To engineering (the short version): 3.9.0 fixes PHP 8.4 deprecations, removes Laravel support, drops PHP 8.2, exposes resource creation timestamps, allows named arguments in KubernetesCluster methods, and bumps ratchet/pawl. Treat it as breaking on the platform axis even though it is a minor version. Action items: (1) confirm our PHP floor is 8.3+ and schedule the bump; (2) inventory and own any code that depended on the old Laravel service provider/facade integration — that contract is gone; (3) re-run the WebSocket/watch integration tests against the new ratchet/pawl; (4) use the creation-timestamp exposure to retire whatever workaround our resource-age UI currently uses; (5) adopt named arguments in our cluster-orchestration call sites so minor signature changes stop breaking us. We remain a thin layer over this client — our retry, watch-restart, and error-handling logic stays ours and must be tested against the new release.
How can I help you explore Laravel packages today?