PHPackages                             signifly/laravel-kubernetes - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. signifly/laravel-kubernetes

AbandonedArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

signifly/laravel-kubernetes
===========================

Integration helpers for running services in Kubernetes

14.3kPHP

Since Sep 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/signifly/laravel-kubernetes)[ Packagist](https://packagist.org/packages/signifly/laravel-kubernetes)[ RSS](/packages/signifly-laravel-kubernetes/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Integration helpers for running services in Kubernetes
======================================================

[](#integration-helpers-for-running-services-in-kubernetes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8c0bb3bad73ec15599fe549c94da9d77a632db157d75d1d84dd0f3dbc6e72abc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7369676e69666c792f6c61726176656c2d6b756265726e657465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/signifly/laravel-kubernetes)[![GitHub Tests Action Status](https://camo.githubusercontent.com/33e4e1d2cd37984e061136b2e94deb62e8928a62d64f58ba00bf6ee7aff6cfd9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7369676e69666c792f6c61726176656c2d6b756265726e657465732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/signifly/laravel-kubernetes/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/0c4a8aaec8bfaf99950820eae72e23f091646dd12ff43dbb29f0d1aea95ce53e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7369676e69666c792f6c61726176656c2d6b756265726e657465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/signifly/laravel-kubernetes)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

TODO
----

[](#todo)

- Configurable liveness / readiness endpoints
- Configurable liveness / readiness commands
- Login / create user via `X-Forwarded-User`
- Trust proxies

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

[](#installation)

You can install the package via composer:

```
composer require signifly/laravel-kubernetes
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Signifly\Kubernetes\KubernetesServiceProvider" --tag="migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Signifly\Kubernetes\KubernetesServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
];
```

Initiate the integration by running;

```
php artisan kubernetes:install
```

This will automatically set up and inject the Http middleware needed for the integration to work.

Usage
-----

[](#usage)

You can provide a check callback, that's used when checking if the request is authenticated.

```
Kubernetes::useCheck(function ($request, $next) {
    return $request->ip() === '127.0.0.1';
});
```

The default check just calls `Auth::check()`.

You should provide a login callback that logs in the user, given an email, and decices how to further process the request.

For example, redirecting back to the previous url;

```
Kubernetes::useLogin(function ($email) {
    Auth::login(User::firstOrCreate(['email' => $email]));

    return redirect()->intended();
});
```

or, just continuing the middleware chain;

```
Kubernetes::useLogin(function ($email, $request, $next) {
    Auth::login(User::firstOrCreate(['email' => $email]));

    return $next($request);
});
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

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

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Matthias Larsen](https://github.com/connors511)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

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.

### Community

Maintainers

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

---

Top Contributors

[![connors511](https://avatars.githubusercontent.com/u/527889?v=4)](https://github.com/connors511 "connors511 (26 commits)")

### Embed Badge

![Health badge](/badges/signifly-laravel-kubernetes/health.svg)

```
[![Health](https://phpackages.com/badges/signifly-laravel-kubernetes/health.svg)](https://phpackages.com/packages/signifly-laravel-kubernetes)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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