renoki-co/php-k8s
PHP K8s is a Kubernetes client for PHP and Laravel. Manage pods, deployments, services, and custom resources with a fluent API for CRUD, scaling, logs, exec, and watches—no kubectl required.
Executive summary: This package lets our Laravel/PHP product interact directly with Kubernetes—supporting multiple authentication methods, the exec API, and custom resource definitions—so we can ship Kubernetes-backed customer workflows without immediately introducing a separate service or language. It is Apache-2.0 licensed, low-cost to trial, and useful for internal platforms, tenant provisioning, and CRD-driven product features. The trade-off is maturity risk: it is an unofficial client with a 2023 last release and modest community size. I recommend a bounded pilot behind an internal abstraction, not a core platform dependency, with a clear fallback to a Go operator or direct Kubernetes API integration if reliability or scale requirements grow.
For engineering: Treat it as a thin Kubernetes API client, not a controller runtime. Use it for explicit operations and CRD management, wrap it in our own interface, pin the version, enforce least-privilege credentials, and add audit logging and integration tests against our supported cluster versions. Avoid embedding it directly across many services until we validate upgrade and failure behavior.
How can I help you explore Laravel packages today?