Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dlhck/laravel-jsonmapper
- Owner: dlhck
- Created: 2017-01-25T10:23:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T10:11:44.000Z (5 months ago)
- Last Synced: 2024-10-16T06:32:25.455Z (3 months ago)
- Topics: json, laravel, laravel-framework, map-json, php, php-library
- Language: PHP
- Size: 9.77 KB
- Stars: 3
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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,