PHPackages                             davidhoeck/laravel-jsonmapper - 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. davidhoeck/laravel-jsonmapper

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

davidhoeck/laravel-jsonmapper
=============================

Map JSON Responses to PHP Models

v1.1.0(5y ago)387.1k↓19%51OSL3.0PHP

Since Jan 25Pushed 1y agoCompare

[ Source](https://github.com/dlhck/laravel-jsonmapper)[ Packagist](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)[ RSS](/packages/davidhoeck-laravel-jsonmapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (1)

Laravel JSON Mapper
===================

[](#laravel-json-mapper)

[![Latest Stable Version](https://camo.githubusercontent.com/09a89765757ff32d070c1447f198b773269756c91fd8327800543df57f2e60e5/68747470733a2f2f706f7365722e707567782e6f72672f6461766964686f65636b2f6c61726176656c2d6a736f6e6d61707065722f762f737461626c65)](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)[![Total Downloads](https://camo.githubusercontent.com/2b0bc117b172aac9dd2d0d441caf6a75495c2c9dfbee156e43b0552b56bd97dd/68747470733a2f2f706f7365722e707567782e6f72672f6461766964686f65636b2f6c61726176656c2d6a736f6e6d61707065722f646f776e6c6f616473)](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)[![License](https://camo.githubusercontent.com/718a769e6e9cbc1edb6fbfb362171337c45ad1ce766ee17f52e362597aea650e/68747470733a2f2f706f7365722e707567782e6f72672f6461766964686f65636b2f6c61726176656c2d6a736f6e6d61707065722f6c6963656e7365)](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)[![Monthly Downloads](https://camo.githubusercontent.com/9423f86b23932923ac6da2bd964d37bf61991c0125b611413818ad26e0381e9c/68747470733a2f2f706f7365722e707567782e6f72672f6461766964686f65636b2f6c61726176656c2d6a736f6e6d61707065722f642f6d6f6e74686c79)](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)

Map any JSON String on to your PHP Objects. Tested with Laravel, but basically working with every PHP Framework that supports namespaces.

This Plugin is based on the project from [@cweiske](https://github.com/cweiske). I added support primary for the Laravel Framework and I will also develope additional features, especially for the Laravel Framework.

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

[](#installation)

**Via your terminal**Paste the following line in your terminal and press enter.

```
composer require davidhoeck/laravel-jsonmapper

```

**Via your composer.json file**

Add the following line to your `composer.json` at the "require" section.

```
"davidhoeck/laravel-jsonmapper" : "^1.0.0"

```

Usage
-----

[](#usage)

Read the documentation from @cweiske in his project [here](https://github.com/cweiske/jsonmapper#usage)

As are developing more features,

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

1839d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/030c2d1619e640448247b08443490f72492b38e1e9b3f2cbc3257c4dc4641375?d=identicon)[davidhoeck](/maintainers/davidhoeck)

---

Top Contributors

[![dlhck](https://avatars.githubusercontent.com/u/24294584?v=4)](https://github.com/dlhck "dlhck (1 commits)")[![FlorinMotoc](https://avatars.githubusercontent.com/u/10770978?v=4)](https://github.com/FlorinMotoc "FlorinMotoc (1 commits)")[![mxk1011](https://avatars.githubusercontent.com/u/10925172?v=4)](https://github.com/mxk1011 "mxk1011 (1 commits)")

---

Tags

jsonlaravellaravel-frameworkmap-jsonphpphp-library

### Embed Badge

![Health badge](/badges/davidhoeck-laravel-jsonmapper/health.svg)

```
[![Health](https://phpackages.com/badges/davidhoeck-laravel-jsonmapper/health.svg)](https://phpackages.com/packages/davidhoeck-laravel-jsonmapper)
```

###  Alternatives

[zlikavac32/php-enum

Better PHP enum support

225.6k5](/packages/zlikavac32-php-enum)

PHPackages © 2026

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