Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dlhck/laravel-jsonmapper

Map JSON on to every Object
https://github.com/dlhck/laravel-jsonmapper

json laravel laravel-framework map-json php php-library

Last synced: 2 months ago
JSON representation

Map JSON on to every Object

Awesome Lists containing this project

README

        

# Laravel JSON Mapper
[![Latest Stable Version](https://poser.pugx.org/davidhoeck/laravel-jsonmapper/v/stable)](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)
[![Total Downloads](https://poser.pugx.org/davidhoeck/laravel-jsonmapper/downloads)](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)
[![License](https://poser.pugx.org/davidhoeck/laravel-jsonmapper/license)](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)
[![Monthly Downloads](https://poser.pugx.org/davidhoeck/laravel-jsonmapper/d/monthly)](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

__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](https://github.com/cweiske/jsonmapper#usage)

As are developing more features,