承接 stratadox/deserializer-contracts 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

stratadox/deserializer-contracts

Composer 安装命令:

composer require stratadox/deserializer-contracts

包简介

README 文档

README

Contracts for deserializing input data.

A deserializer converts serialized data into objects.

Serialized input data is provided in the form of an array, either numeric or associative. It can come from various sources, be it a json document, a relational database or other source.

Deserializers can be configured and combined to transform one or more data schemas into specific types of object structures.

Modules that have some kind of data and need it transformed into some kind of object structure can simply request a Deserializer and focus on the task at hand. This makes the module easier to read, by not distracting with data formatting details, and more extensible: they can be provisioned with a new serializer to accept new formats without having to alter the module itself.

Installation

Install with composer require stratadox/deserializer-contracts

Why are there only interfaces in this package

This package exists to decouple the concept of a deserializer from its default implementation.

In this setup, projects that support some kind of deserialization can opt to depend only on a few interfaces, instead of having to always import the default serializer without actually using it.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固