PHPackages                             arkn/laravel-convert-case-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. arkn/laravel-convert-case-middleware

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arkn/laravel-convert-case-middleware
====================================

Convert request and response keys to and from camel and snake case.

1.1.7(1mo ago)03281MITPHPPHP ^8.0|^8.1|^8.2|^8.3|^8.4|^8.5

Since Jul 23Pushed 1mo agoCompare

[ Source](https://github.com/noeGnh/laravel-convert-case-middleware)[ Packagist](https://packagist.org/packages/arkn/laravel-convert-case-middleware)[ RSS](/packages/arkn-laravel-convert-case-middleware/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (4)Used By (1)

Laravel Convert Case Middleware
===============================

[](#laravel-convert-case-middleware)

> 🛠️ Fork of `tomlerendu/laravel-convert-case-middleware` with Laravel 11 support.

[![Actions Status](https://github.com/tomlerendu/laravel-convert-case-middleware/workflows/Tests/badge.svg)](https://github.com/tomlerendu/laravel-convert-case-middleware/actions)

Convert requests from camel case to snake case. Convert responses from snake case to camel case.

Why?
----

[](#why)

Its convention to work with camel case in Javascript and snake case in PHP.

Requirements
------------

[](#requirements)

Laravel 5.2+

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

[](#installation)

1. `composer require arkn/laravel-convert-case-middleware`
2. Add the middleware to the appropriate group in `App\Http\Kernel.php`. For example

```
protected $middlewareGroups = [
    'api' => [
        'throttle:60,1',
        'bindings',
        \TomLerendu\LaravelConvertCaseMiddleware\ConvertRequestToSnakeCase::class,
        \TomLerendu\LaravelConvertCaseMiddleware\ConvertResponseToCamelCase::class,
    ],
];
```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.9% 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 ~167 days

Total

3

Last Release

49d ago

PHP version history (2 changes)1.1.5PHP ^8.0|^8.1|^8.2|^8.3

1.1.7PHP ^8.0|^8.1|^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a90be8b41b7e274a488844f315133911102a49a9bbfde99f556aa2ed5348b57?d=identicon)[noeGnh](/maintainers/noeGnh)

---

Top Contributors

[![tomlerendu](https://avatars.githubusercontent.com/u/3859851?v=4)](https://github.com/tomlerendu "tomlerendu (17 commits)")[![noeGnh](https://avatars.githubusercontent.com/u/67134244?v=4)](https://github.com/noeGnh "noeGnh (3 commits)")[![cwilby](https://avatars.githubusercontent.com/u/13686317?v=4)](https://github.com/cwilby "cwilby (1 commits)")[![mercrover](https://avatars.githubusercontent.com/u/35199776?v=4)](https://github.com/mercrover "mercrover (1 commits)")[![specialgoodstuff](https://avatars.githubusercontent.com/u/1114907?v=4)](https://github.com/specialgoodstuff "specialgoodstuff (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arkn-laravel-convert-case-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/arkn-laravel-convert-case-middleware/health.svg)](https://phpackages.com/packages/arkn-laravel-convert-case-middleware)
```

###  Alternatives

[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

604.0k2](/packages/crumbls-layup)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1422.0k5](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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