定制 json-mapper/symfony-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

json-mapper/symfony-bundle

最新稳定版本:2.2.1

Composer 安装命令:

composer require json-mapper/symfony-bundle

包简介

The JsonMapper bundle for Symfony

README 文档

README

JsonMapper logo

This is a Symfony bundle for using JsonMapper in you Symfony application.

JsonMapper 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. For more information see the project website: https://jsonmapper.net

GitHub Packagist Version PHP from Packagist Build Coverage Status

Why use JsonMapper

Continuously mapping your JSON responses to your own objects becomes tedious and is error prone. Not mentioning the tests that needs to be written for said mapping.

JsonMapper has been build with the most common usages in mind. In order to allow for those edge cases which are not supported by default, it can easily be extended as its core has been designed using middleware.

JsonMapper supports the following features

  • Case conversion
  • Debugging
  • DocBlock annotations
  • Final callback
  • Namespace resolving
  • PHP 7.4 Types properties

Installing JsonMapper Symfony bundle

The installation of JsonMapper Symfony bundle can easily be done with Composer

$ composer require json-mapper/symfony-bundle

The example shown above assumes that composer is on your $PATH.

Contributing

Please refer to CONTRIBUTING.md for information on how to contribute to JsonMapper Symfony bundle.

List of Contributors

Thanks to everyone who has contributed to JsonMapper Symfony bundle! You can find a detailed list of contributors of JsonMapper on GitHub.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 39.57k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-30