PHPackages                             renoki-co/php-k8s - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. renoki-co/php-k8s

ActiveLibrary[API Development](/categories/api)

renoki-co/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.

3.8.1(3y ago)321669.7k↓24.6%88[4 PRs](https://github.com/renoki-co/php-k8s/pulls)2Apache-2.0PHPCI passing

Since May 9Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/renoki-co/php-k8s)[ Packagist](https://packagist.org/packages/renoki-co/php-k8s)[ Docs](https://github.com/renoki-co/php-k8s)[ GitHub Sponsors](https://github.com/rennokki)[ RSS](/packages/renoki-co-php-k8s/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (115)Used By (2)

PHP K8s
=======

[](#php-k8s)

[![CI](https://github.com/renoki-co/php-k8s/workflows/CI/badge.svg?branch=master)](https://github.com/renoki-co/php-k8s/workflows/CI/badge.svg?branch=master)[![codecov](https://camo.githubusercontent.com/73c061a44ba1a3d14f6ab9dbd4ebed97c760a828324ab7683b365dfb8e9fa6ea/68747470733a2f2f636f6465636f762e696f2f67682f72656e6f6b692d636f2f7068702d6b38732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/renoki-co/php-k8s/branch/master)[![StyleCI](https://camo.githubusercontent.com/4d89d19bdd9de0bd4cae47ce62ea62bc4d2dfdf7ece97596d4f24ed223892c78/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235393939323532352f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/259992525)[![Maintainability](https://camo.githubusercontent.com/a0841a298755fd1960b227259deb6c32c51af723b689feddae16ba15bfcf7c30/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66313930346363626566383830396339643933622f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/renoki-co/php-k8s/maintainability)[![License](https://camo.githubusercontent.com/350169480a4a0eb34ac087bd13b7e335308bc6590a142ead4427d833ce9d0bab/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f7068702d6b38732f6c6963656e7365)](https://packagist.org/packages/renoki-co/php-k8s)

[![Latest Stable Version](https://camo.githubusercontent.com/85e7bd48aa4d793269e1b0482f975d1f2476c0797c43e5ec788f1174fb5d175d/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f7068702d6b38732f762f737461626c65)](https://packagist.org/packages/renoki-co/php-k8s)[![Total Downloads](https://camo.githubusercontent.com/7cba43a94a46886f8e2914499b3b0b21203f1aba46859b085ba5bfad83443351/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f7068702d6b38732f646f776e6c6f616473)](https://packagist.org/packages/renoki-co/php-k8s)[![Monthly Downloads](https://camo.githubusercontent.com/ef915c3150ffaeffceda911b844ffa01ab3c671675256de1cc548a3c0b5e4935/68747470733a2f2f706f7365722e707567782e6f72672f72656e6f6b692d636f2f7068702d6b38732f642f6d6f6e74686c79)](https://packagist.org/packages/renoki-co/php-k8s)

[![v1.32.9 K8s Version](https://camo.githubusercontent.com/0c70468e2fd82b65c0307aaf41523ea0ae534448c97c284ca06560600b011b47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b387325323076312e33322e392d52656164792d2532333332366365353f636f6c6f72413d33303643453826636f6c6f72423d677265656e)](https://camo.githubusercontent.com/0c70468e2fd82b65c0307aaf41523ea0ae534448c97c284ca06560600b011b47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b387325323076312e33322e392d52656164792d2532333332366365353f636f6c6f72413d33303643453826636f6c6f72423d677265656e)[![v1.33.5 K8s Version](https://camo.githubusercontent.com/46c76429ed6fc071a4435e3b212ab1673287a472329077f5c4705315b971983f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b387325323076312e33332e352d52656164792d2532333332366365353f636f6c6f72413d33303643453826636f6c6f72423d677265656e)](https://camo.githubusercontent.com/46c76429ed6fc071a4435e3b212ab1673287a472329077f5c4705315b971983f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b387325323076312e33332e352d52656164792d2532333332366365353f636f6c6f72413d33303643453826636f6c6f72423d677265656e)[![v1.34.1 K8s Version](https://camo.githubusercontent.com/d8a5310d9eb6fde61d8e59170aaf44270143eb5290d75b5f8f3b27998f0d7a86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b387325323076312e33342e312d52656164792d2532333332366365353f636f6c6f72413d33303643453826636f6c6f72423d677265656e)](https://camo.githubusercontent.com/d8a5310d9eb6fde61d8e59170aaf44270143eb5290d75b5f8f3b27998f0d7a86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b387325323076312e33342e312d52656164792d2532333332366365353f636f6c6f72413d33303643453826636f6c6f72423d677265656e)

[![Client Capabilities](https://camo.githubusercontent.com/6bdf2a4d83325847bfa9e267937f27cdeac45149d8af310563ddc5409dd6f5af/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b756265726e65746573253230436c69656e742d53696c7665722d626c75652e7376673f636f6c6f72423d43304330433026636f6c6f72413d333036434538)](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/csi-new-client-library-procedure.md#client-capabilities)[![Client Support Level](https://camo.githubusercontent.com/12af76655d07568210b27b2bef6ffd384eae19ec35a0cae0bf5e4e2c00e32747/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b756265726e65746573253230436c69656e742d737461626c652d677265656e2e7376673f636f6c6f72413d333036434538)](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/csi-new-client-library-procedure.md#client-support-level)

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](https://github.com/renoki-co/laravel-php-k8s) which eases the access for this particular case.

🤝 Supporting
------------

[](#-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](https://github.com/sponsors/rennokki). 📦**

[![](https://camo.githubusercontent.com/4e8d94b337d08576b93852f1f371f31914161b3cc2ae9181220ea88196ba11a8/68747470733a2f2f6769746875622d636f6e74656e742e73332e66722d7061722e7363772e636c6f75642f7374617469632f33362e6a7067)](https://github-content.renoki.org/github-repo/36)

📃 Documentation
---------------

[](#-documentation)

[The entire documentation is available on Gitbook 🌍](https://rennokki.gitbook.io/php-k8s/)

🐛 Testing
---------

[](#-testing)

```
vendor/bin/phpunit
```

🤝 Contributing
--------------

[](#-contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

🔒 Security
----------

[](#--security)

If you discover any security related issues, please email  instead of using the issue tracker.

🎉 Credits
---------

[](#-credits)

- [Alex Renoki](https://github.com/rennokki)
- [All Contributors](../../contributors)

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance59

Moderate activity, may be stable

Popularity58

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 82.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Recently: every ~185 days

Total

103

Last Release

795d ago

Major Versions

1.20.8 → 2.8.02021-05-27

1.x-dev → 2.10.02021-08-03

2.12.0 → 3.0.02021-09-05

2.12.1 → 3.1.42021-10-24

2.x-dev → 3.1.52021-10-25

PHP version history (4 changes)v1.0.0-rc.0PHP ^7.0

v1.0.0-rc.3PHP ^7.2

1.12.0PHP ^7.3|^8.0

1.17.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21983456?v=4)[rennokki](/maintainers/rennokki)[@rennokki](https://github.com/rennokki)

---

Top Contributors

[![rennokki](https://avatars.githubusercontent.com/u/21983456?v=4)](https://github.com/rennokki "rennokki (622 commits)")[![cuppett](https://avatars.githubusercontent.com/u/239904?v=4)](https://github.com/cuppett "cuppett (49 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (38 commits)")[![MujibAzizi](https://avatars.githubusercontent.com/u/1754708?v=4)](https://github.com/MujibAzizi "MujibAzizi (16 commits)")[![tiagomichaelsousa](https://avatars.githubusercontent.com/u/28356381?v=4)](https://github.com/tiagomichaelsousa "tiagomichaelsousa (7 commits)")[![declum](https://avatars.githubusercontent.com/u/22226?v=4)](https://github.com/declum "declum (5 commits)")[![svenvanhees](https://avatars.githubusercontent.com/u/3237025?v=4)](https://github.com/svenvanhees "svenvanhees (3 commits)")[![conFrituur](https://avatars.githubusercontent.com/u/8106368?v=4)](https://github.com/conFrituur "conFrituur (3 commits)")[![kasperhendriks](https://avatars.githubusercontent.com/u/3921375?v=4)](https://github.com/kasperhendriks "kasperhendriks (2 commits)")[![bobab12](https://avatars.githubusercontent.com/u/3141657?v=4)](https://github.com/bobab12 "bobab12 (2 commits)")[![georgeboot](https://avatars.githubusercontent.com/u/884482?v=4)](https://github.com/georgeboot "georgeboot (2 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![leo108](https://avatars.githubusercontent.com/u/1551716?v=4)](https://github.com/leo108 "leo108 (1 commits)")[![0x0432](https://avatars.githubusercontent.com/u/81618779?v=4)](https://github.com/0x0432 "0x0432 (1 commits)")[![SiebeVE](https://avatars.githubusercontent.com/u/14889418?v=4)](https://github.com/SiebeVE "SiebeVE (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")[![dunglas](https://avatars.githubusercontent.com/u/57224?v=4)](https://github.com/dunglas "dunglas (1 commits)")[![TheIrritainer](https://avatars.githubusercontent.com/u/5379868?v=4)](https://github.com/TheIrritainer "TheIrritainer (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

apiclustercrdsekselastic-kubernetes-servicegkegoogle-kubernetes-enginehacktoberfestinfrak8skuberneteskubernetes-cluster-apilaravelpersistent-volumesphpphp-handlerphp-k8spodsyncphpapilaravelclusterkubekubernetesk8sk3sk0skubeadmkubeapi

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/renoki-co-php-k8s/health.svg)

```
[![Health](https://phpackages.com/badges/renoki-co-php-k8s/health.svg)](https://phpackages.com/packages/renoki-co-php-k8s)
```

###  Alternatives

[renoki-co/php-helm

PHP Helm Processor is a process wrapper for Kubernetes' Helm v3 CLI. You can run programmatically Helm v3 commands, directly from PHP, with a simple syntax.

1310.5k](/packages/renoki-co-php-helm)[renoki-co/laravel-php-k8s

Just a simple port of renoki-co/php-k8s for easier access in Laravel.

88218.2k](/packages/renoki-co-laravel-php-k8s)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[gufy/whmcs

WHMCS API for Laravel 5

201.7k](/packages/gufy-whmcs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
