/laravel-jsonmapper

Map JSON on to every Object

Primary LanguagePHP

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,