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: 4 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T10:11:44.000Z (11 months ago)
- Last Synced: 2025-02-28T01:49:20.282Z (4 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
[](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)
[](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)
[](https://packagist.org/packages/davidhoeck/laravel-jsonmapper)
[](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,