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)2783.7k↓41.9%4[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 1mo 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

39

—

LowBetter than 86% of packages

Maintenance20

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

2341d 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

[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

45212.0k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

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