PHPackages                             machecaz/marlon-lumen - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. machecaz/marlon-lumen

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

machecaz/marlon-lumen
=====================

0.1.3(5y ago)0119PHPPHP ^7.4|^8.0

Since Mar 12Pushed 5y agoCompare

[ Source](https://github.com/marlonapp/marlon-lumen)[ Packagist](https://packagist.org/packages/machecaz/marlon-lumen)[ RSS](/packages/machecaz-marlon-lumen/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

Marlon Lumen
============

[](#marlon-lumen)

Usage
-----

[](#usage)

1. Register provider into `bootstrap/app.php`:

    ```
    $app->register(Marlon\Lumen\Providers\MarlonLumenServiceProvider::class);
    ```
2. Add ErrorHandler trait to `app/Exceptions/Handler.php`.

Commands
--------

[](#commands)

1. make:request -&gt; Create a FormRequest.
2. make:response -&gt; Create a Responsable class.
3. run:test -&gt; A shortcut command for run test using phpunit.

Enums
-----

[](#enums)

This package use spatie/enum for enable enum feature (we are waiting for php 8.1 that will provides native enum).

- RoleEnum -&gt; user roles.

Helper classes
--------------

[](#helper-classes)

- Auth -&gt; get values from marlon custom header (proxy will pass them).
- ValidationErrors -&gt; a helper class for throw a ValidationException.

Traits
------

[](#traits)

- ArrayObjectArrayable -&gt; implements a recursive "objects to array" method.
- ErrorHandler -&gt; core class for handle ValidationException and return a 422 response with errors.
- ObjectArrayable -&gt; implements a recursive "object to array" method for object.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Total

13

Last Release

1831d ago

PHP version history (2 changes)0.0.3PHP ^7.4

0.0.4PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35412801?v=4)[Daniele Tulone](/maintainers/danieletulone)[@danieletulone](https://github.com/danieletulone)

---

Top Contributors

[![danieletulone](https://avatars.githubusercontent.com/u/35412801?v=4)](https://github.com/danieletulone "danieletulone (27 commits)")

---

Tags

composer-packagelumen-frameworkphp7validationlumenMicroserviceresponsesform-requeststandard-errors

### Embed Badge

![Health badge](/badges/machecaz-marlon-lumen/health.svg)

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

###  Alternatives

[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3883.5M1](/packages/axlon-laravel-postal-code-validation)[anik/form-request

Form request is a package for Lumen that lets developer validate form requests like Laravel does.

50381.4k3](/packages/anik-form-request)[pearl/lumen-request-validate

Lumen doesn't have form request validator seperatly. This package helps developers to segregate the validation layer from the controller to a separate dedicated class

45397.3k2](/packages/pearl-lumen-request-validate)[albertcht/lumen-form-request

Form request is a package for Lumen that lets developer validate form requests like Laravel does.

1014.9k1](/packages/albertcht-lumen-form-request)[iamfarhad/validation

🇮🇷 Complete Laravel Persian validation package - Iranian national ID, mobile numbers, Shamsi dates, IBAN/Sheba, postal codes &amp; more. Modern Laravel 10-13 support with both ValidationRule objects &amp; string-based rules.

3017.3k](/packages/iamfarhad-validation)

PHPackages © 2026

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