wbdavidhoeck / laravel-jsonmapper by davidhoeck

Map JSON Responses to PHP Models
75,671
3
0
Package Data
Maintainer Username: davidhoeck
Maintainer Contact: d.hoeck@alpin11.at (David Höck)
Package Create Date: 2017-01-25
Package Last Update: 2024-08-13
Language: PHP
License: OSL3.0
Last Refreshed: 2024-11-19 03:17:59
Package Statistics
Total Downloads: 75,671
Monthly Downloads: 697
Daily Downloads: 20
Total Stars: 3
Total Watchers: 0
Total Forks: 5
Total Open Issues: 0

Laravel JSON Mapper

Latest Stable Version Total Downloads License Monthly Downloads

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. I added support primary for the Laravel Framework and I will also develope additional features, especially for the Laravel Framework.

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

Read the documentation from @cweiske in his project here

As are developing more features,