PHPackages                             meinestadt/ms-laravel-readiness - 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. meinestadt/ms-laravel-readiness

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

meinestadt/ms-laravel-readiness
===============================

simple package to provide a readiness controller for drop-in use in projects running on k8s. tests each sql- connection and each redis connection for functionality.

1.1.0(3mo ago)00MITPHPPHP &gt;=8.0

Since Jan 14Pushed 3mo agoCompare

[ Source](https://github.com/meinestadt/ms-laravel-readiness)[ Packagist](https://packagist.org/packages/meinestadt/ms-laravel-readiness)[ RSS](/packages/meinestadt-ms-laravel-readiness/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (10)Versions (5)Used By (0)

Readiness Controller
====================

[](#readiness-controller)

this class is to be used in laravel projects as a drop in readiness controller for k8s environments. it checks the connection for redis and sql to be working and active and send 503 if they are not, thus triggering the proper readiness-failed mechanisms of k8s. So this is a hardening thing.

install
-------

[](#install)

to use this do the usual

```
composer install meinestadt/ms-laravel-readiness

```

configure
---------

[](#configure)

to be used in your application, you also need to setup the necessary route(s)

```
