承接 ifcastle/type-definitions 相关项目开发

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

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

ifcastle/type-definitions

最新稳定版本:v0.5.20

Composer 安装命令:

composer require ifcastle/type-definitions

包简介

Library for defining data types at the business logic layer. Data hydration and serialization based on type definitions.

README 文档

README

A metadata library for describing the types of procedures, services, and objects.

Why is this needed?

Information about data types and method prototypes can be used for code generation, forming DataTransferObjects, and remote calls. This library provides an independent infrastructure for forming metadata about data types that is not tied to a specific implementation.

Features

  • Classes for describing data types
  • Forming metadata through PHP Reflection and attributes.
  • Serialization and deserialization of data into a JSON-like structure (JSON-array).
  • ValueContainer pattern: a container for storing values with a type descriptor.
  • A PHP code generator for serialization, validation, and deserialization for better performance.

Installation

composer require ifcastle/type-definitions

Example

<?php
declare(strict_types=1);

require_once __DIR__ . '/vendor/autoload.php';

// TODO: Add example

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固