davidhoeck / laravel-jsonmapper
Map JSON Responses to PHP Models
Installs: 75 791
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 5
Open Issues: 0
This package is auto-updated.
Last update: 2024-11-13 10:55:26 UTC
README
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,