monovm / php-k8s
Control your Kubernetes clusters with this PHP-based Kubernetes client. It supports any form of authentication, the exec API, and it has an easy implementation for CRDs.
Fund package maintenance!
Requires
- php: ^8.2
- ext-json: *
- composer/semver: ^3.4
- guzzlehttp/guzzle: ^7.10
- illuminate/macroable: ^11.0|^12.0
- illuminate/support: ^11.0|^12.0
- ratchet/pawl: ^0.4.1
- symfony/process: ^7.3.4
Requires (Dev)
- laravel/pint: dev-main
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.0|^10.6.0
- phpunit/phpunit: ^10.0|^11.5
- vimeo/psalm: ^6.13.1
Suggests
- ext-yaml: YAML extension is used to read or generate YAML from PHP K8s internal classes.
This package is auto-updated.
Last update: 2026-06-05 12:00:20 UTC
README
Control your Kubernetes clusters with this PHP-based Kubernetes client. It supports any form of authentication, the exec API, and it has an easy implementation for CRDs.
For Laravel projects, you might want to use renoki-co/laravel-php-k8s which eases the access for this particular case.
🤝 Supporting
If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with Github Sponsors. 📦
📃 Documentation
The entire documentation is available on Gitbook 🌍
🐛 Testing
vendor/bin/phpunit
🤝 Contributing
Please see CONTRIBUTING for details.
🔒 Security
If you discover any security related issues, please email alex@renoki.org instead of using the issue tracker.