patchlevel/hydrator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

patchlevel/hydrator

Composer 安装命令:

composer require patchlevel/hydrator

包简介

A library for seamless hydration of objects to arrays - and back again, optimized for developer experience and performance

README 文档

README

Mutation testing badge Latest Stable Version License

Hydrator

"A library for seamless hydration of objects to arrays - and back again, optimized for developer experience and performance."

Features

  • Extract objects to arrays and hydrate them back, without calling the constructor
  • Works with final, readonly classes, property promotion and deeply nested structures
  • Automatic normalizer resolution for enums, date types, collections, array shapes and objects
  • Rename or exclude fields with attributes
  • Lazy hydration of objects with PHP 8.4 lazy proxies
  • Pluggable guessers and extensions to customize the process
  • Safe usage of Personal Data with crypto-shredding
  • Metadata caching with any PSR-6 or PSR-16 cache
  • Developer experience oriented and fully typed
  • and much more...

Installation

composer require patchlevel/hydrator

Documentation

Integration

Contributing

We are open to contributions as long as they are in line with our BC-Policy.

Also note that the composer.lock is always generated with the newest supported PHP version as this is the version our tools run in the CI.

统计信息

  • 总下载量: 563.64k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 12
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固