PHPackages                             grohiro/laravel-camelcase-json - 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. grohiro/laravel-camelcase-json

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

grohiro/laravel-camelcase-json
==============================

Convert response JSON key to camelCase

2.0.0(6y ago)2785.9k↓54.3%4[4 issues](https://github.com/grohiro/laravel-camelcase-json/issues)[1 PRs](https://github.com/grohiro/laravel-camelcase-json/pulls)MITPHP

Since Apr 20Pushed 5y ago2 watchersCompare

[ Source](https://github.com/grohiro/laravel-camelcase-json)[ Packagist](https://packagist.org/packages/grohiro/laravel-camelcase-json)[ RSS](/packages/grohiro-laravel-camelcase-json/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (5)Used By (0)

laravel-camelcase-json
======================

[](#laravel-camelcase-json)

Convert response JSON key to camelCase.

Usage
-----

[](#usage)

**In controller class**

```
return response()->json($model);
// => ['userName' => 'foo', 'userKey' => 'bar', ...]
```

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

[](#requirements)

- Laravel 5+

Install
-------

[](#install)

```
$ composer require 'grohiro/laravel-camelcase-json' '~1.0'
# Laravel 5.7+
$ composer require 'grohiro/laravel-camelcase-json' '~2.0'
```

Add the service provider.

**config/app.php**

```
'provider' => [
	// default providers
	// ...

	Grohiro\LaravelCamelCaseJson\CamelCaseJsonResponseServiceProvider::class,
],
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~324 days

Total

4

Last Release

2387d ago

Major Versions

1.1.0 → 2.0.02019-12-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/67ef539785d6b97ebb4070f2bfe8f551837282f71e4bba7b7b8529e060de4919?d=identicon)[grohiro](/maintainers/grohiro)

---

Top Contributors

[![grohiro](https://avatars.githubusercontent.com/u/6082303?v=4)](https://github.com/grohiro "grohiro (14 commits)")[![mix5003](https://avatars.githubusercontent.com/u/1129524?v=4)](https://github.com/mix5003 "mix5003 (3 commits)")[![nunar](https://avatars.githubusercontent.com/u/9088416?v=4)](https://github.com/nunar "nunar (1 commits)")

---

Tags

laravel-5-packagelaravel5

### Embed Badge

![Health badge](/badges/grohiro-laravel-camelcase-json/health.svg)

```
[![Health](https://phpackages.com/badges/grohiro-laravel-camelcase-json/health.svg)](https://phpackages.com/packages/grohiro-laravel-camelcase-json)
```

###  Alternatives

[tailpress/tailpress

The Tailwind CSS powered WordPress boilerplate theme.

1.4k3.2k](/packages/tailpress-tailpress)[doublesecretagency/craft-cpcss

Add custom CSS to your Control Panel.

117462.8k9](/packages/doublesecretagency-craft-cpcss)[nerds-and-company/schematic

Craft setup and sync tool

13655.1k1](/packages/nerds-and-company-schematic)[php-etl/satellite

This library aims at building and running lambda PHP functions

142.4k1](/packages/php-etl-satellite)

PHPackages © 2026

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