PHPackages                             devoptn/k8s-api - 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. devoptn/k8s-api

ActiveLibrary[API Development](/categories/api)

devoptn/k8s-api
===============

Kubernetes API Client

v0.0.3(1y ago)161MITPHP

Since Oct 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/devoption/k8s-api)[ Packagist](https://packagist.org/packages/devoptn/k8s-api)[ RSS](/packages/devoptn-k8s-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (1)

Kubernetes API Client for Laravel
=================================

[](#kubernetes-api-client-for-laravel)

This package provides a simple way to interact with the Kubernetes API from a Laravel application.

Installation
------------

[](#installation)

To get started, you can install the package via composer:

```
composer require devoptn/k8s-api
```

(Optional) Next, you need to publish the configuration file:

```
php artisan vendor:publish --provider="DevOption\Kubernetes\KubernetesServiceProvider"
```

> **Note:** The configuration file is optional. If you don't publish it, the package will use the default values.

Configuration
-------------

[](#configuration)

You can set the `K8S_SERVICE_ACCOUNT_TOKEN` in your `.env` file:

```
K8S_SERVICE_ACCOUNT_TOKEN=your-service-account-token
```

> This service account token is used to authenticate with the Kubernetes API and should be a valid cluster-admin token.

Usage
-----

[](#usage)

Details coming soon.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

Support
-------

[](#support)

Please [open an issue](https://github.com/devoption/k8s-api/issues) for support.

Contributing
------------

[](#contributing)

Details coming soon.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this package, please send an e-mail to . All security vulnerabilities will be promptly addressed.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

595d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f454b0cd60400133db60c24393f14f476c183b7fa709dd83c747ed1d753dee96?d=identicon)[iBourgeois](/maintainers/iBourgeois)

---

Top Contributors

[![ibourgeois](https://avatars.githubusercontent.com/u/3633464?v=4)](https://github.com/ibourgeois "ibourgeois (20 commits)")

---

Tags

apiclientlaravelkubernetesk8sdevoptiondevoptn

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/devoptn-k8s-api/health.svg)

```
[![Health](https://phpackages.com/badges/devoptn-k8s-api/health.svg)](https://phpackages.com/packages/devoptn-k8s-api)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[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.

321669.7k2](/packages/renoki-co-php-k8s)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[dragon-code/laravel-json-response

Automatically always return a response in JSON format

1118.6k1](/packages/dragon-code-laravel-json-response)

PHPackages © 2026

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