PHPackages                             treehousetim/lumen-middleware - 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. [Framework](/categories/framework)
4. /
5. treehousetim/lumen-middleware

ActiveLibrary[Framework](/categories/framework)

treehousetim/lumen-middleware
=============================

Various middleware for lumen

v1.0.11(4y ago)0229MITPHPPHP ^7.1 || ^8.0

Since Dec 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/treehousetim/lumen-middleware)[ Packagist](https://packagist.org/packages/treehousetim/lumen-middleware)[ RSS](/packages/treehousetim-lumen-middleware/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)DependenciesVersions (13)Used By (0)

lumen-middleware
================

[](#lumen-middleware)

jsonStandardResponse
--------------------

[](#jsonstandardresponse)

Provides a standard way of providing JSON formatted output no matter what the application sends

**For all endpoints**

Modify your `app.php`

```
$app->middleware([
    treehousetim\lumen_middleware\jsonStandardResponse::class
]);
```

idUUID
------

[](#iduuid)

Automatically validates uuid's in url parameters based on routes with the first parameter intended to be a UUID Only validates it is present and is a proper UUID.

**Use in a controller's `__construct` method**

```
class MyController extends Controller
{
 public function __construct()
    {
        $this->middleware( 'ID_UUID',
            ['only'=>[
                'get',
                'update',
                'destroy'
            ]]
        );
    }
...
}
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~14 days

Recently: every ~38 days

Total

12

Last Release

1518d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/treehousetim-lumen-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/treehousetim-lumen-middleware/health.svg)](https://phpackages.com/packages/treehousetim-lumen-middleware)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M300](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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