{"id":34638173,"url":"https://github.com/jsonmapper/eloquentmiddleware","last_synced_at":"2026-04-18T05:03:55.621Z","repository":{"id":55136549,"uuid":"290310452","full_name":"JsonMapper/EloquentMiddleware","owner":"JsonMapper","description":"Map nested JSON structures to Eloquent Models","archived":false,"fork":false,"pushed_at":"2025-02-19T10:23:31.000Z","size":27,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2026-02-12T19:55:55.984Z","etag":null,"topics":["hydration","json","jsonmapper","mapper","mapping","middelware","php"],"latest_commit_sha":null,"homepage":"https://jsonmapper.net","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JsonMapper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-25T19:56:48.000Z","updated_at":"2025-02-19T10:22:42.000Z","dependencies_parsed_at":"2022-08-14T13:01:02.606Z","dependency_job_id":null,"html_url":"https://github.com/JsonMapper/EloquentMiddleware","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/JsonMapper/EloquentMiddleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsonMapper%2FEloquentMiddleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsonMapper%2FEloquentMiddleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsonMapper%2FEloquentMiddleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsonMapper%2FEloquentMiddleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JsonMapper","download_url":"https://codeload.github.com/JsonMapper/EloquentMiddleware/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsonMapper%2FEloquentMiddleware/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31957158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hydration","json","jsonmapper","mapper","mapping","middelware","php"],"created_at":"2025-12-24T17:10:23.065Z","updated_at":"2026-04-18T05:03:55.615Z","avatar_url":"https://github.com/JsonMapper.png","language":"PHP","readme":"\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://jsonmapper.net/images/jsonmapper-light.png\"\u003e\n  \u003cimg alt=\"JsonMapper logo\" src=\"https://jsonmapper.net/images/jsonmapper.png\"\u003e\n\u003c/picture\u003e\n\n---\n**This is a Laravel package for using JsonMapper in you Laravel application.** \n\nJsonMapper is a PHP library that allows you to map a JSON response to your PHP objects that are either annotated using doc blocks or use typed properties.\nFor more information see the project website: https://jsonmapper.net\n\n![GitHub](https://img.shields.io/github/license/JsonMapper/EloquentMiddleware)\n![Packagist Version](https://img.shields.io/packagist/v/json-mapper/eloquent-middleware)\n![PHP from Packagist](https://img.shields.io/packagist/php-v/json-mapper/eloquent-middleware)\n[![Build Status](https://api.travis-ci.com/JsonMapper/EloquentMiddleware.svg?branch=master)](https://travis-ci.com/JsonMapper/EloquentMiddleware) \n[![Coverage Status](https://coveralls.io/repos/github/JsonMapper/EloquentMiddleware/badge.svg?branch=master)](https://coveralls.io/github/JsonMapper/EloquentMiddleware?branch=master)\n\n# Why use JsonMapper\nContinuously mapping your JSON responses to your own objects becomes tedious and is error prone. Not mentioning the\ntests that needs to be written for said mapping.\n\nJsonMapper has been build with the most common usages in mind. In order to allow for those edge cases which are not \nsupported by default, it can easily be extended as its core has been designed using middleware.\n\nJsonMapper supports the following features\n * Case conversion\n * Debugging\n * DocBlock annotations\n * Final callback\n * Namespace resolving\n * PHP 7.4 Types properties\n  \n# Installing JsonMapper Eloquent Middleware \nThe installation of JsonMapper Eloquent Middleware can easily be done with [Composer](https://getcomposer.org)\n```bash\n$ composer require json-mapper/eloquent-middleware\n```\nThe example shown above assumes that `composer` is on your `$PATH`.\n\n# Contributing\nPlease refer to [CONTRIBUTING.md](https://github.com/JsonMapper/EloquentMiddleware/blob/master/CONTRIBUTING.md) for information on how to contribute to JsonMapper Eloquent Middleware.\n\n## List of Contributors\nThanks to everyone who has contributed to JsonMapper Eloquent Middleware! You can find a detailed list of contributors of JsonMapper on [GitHub](https://github.com/JsonMapper/EloquentMiddleware/graphs/contributors).\n\n# License\nThe MIT License (MIT). Please see [License File](https://github.com/JsonMapper/EloquentMiddleware/blob/master/LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonmapper%2Feloquentmiddleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonmapper%2Feloquentmiddleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonmapper%2Feloquentmiddleware/lists"}