nsbx/model-builder-bundle
Composer 安装命令:
composer require nsbx/model-builder-bundle
包简介
README 文档
README
Summary
This bundle was created to ease the process of creating JSON objects from external API responses or any JSON that follows a specific model.
With this bundle, you can simply create a model and implement the abstract class "AbstractModelBuilder".
Once your model extends this class, you only need to implement the getMapping() function.
This function should return an Mapping object that describes how to map the JSON data to the model properties.
The Bundle is easy to use and allows efficient processing of JSON data from an API. You can focus on the logic of your application rather than spending time writing code for handling and parsing JSON data from APIs.
If you need example, check the Model folder in the testing section.
Installation
composer require nsbx/model-builder-bundle
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-05