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 today

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 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

1464d 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/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M529](/packages/laravel-passport)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M255](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)

PHPackages © 2026

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