PHPackages                             aweitian/data - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aweitian/data

ActiveProject[Utility &amp; Helpers](/categories/utility)

aweitian/data
=============

data tuple component

v2.01(7y ago)0461MITPHPPHP &gt;=5.3.0

Since Aug 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/aweitian/data)[ Packagist](https://packagist.org/packages/aweitian/data)[ Docs](https://github.com/aweitian/data)[ RSS](/packages/aweitian-data/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (1)

关系数据库的抽象
========

[](#关系数据库的抽象)

使用 composer 命令进行安装或下载源代码使用。

> composer require aweitian/data

分量 Component
------------

[](#分量-component)

- name 字段名
- alias 别名
- dataType 字段类型,可用类型见下表
- domain 字段的数据范围(一般在数据类型为集合时使用)
- domainDescription
- default 默认值
- comment 备注
- isUnsigned 是否是无负号数
- allowNull 是否允许为空
- isPk 是否是主键
- isAutoIncrement 是否是递增字段

可用MYSQL字段类型
-----------

[](#可用mysql字段类型)

tinyintsmallintintbigintfloatdoubledecimalmediuminttexttinyblobtinytextblobmediumblobmediumtextlongbloblongtextdatetimetimestampdatetimeyearenumsetvarcharcharbinaryvarbinaryTuple 元组 关系表中的一行称为一个元组
----------------------

[](#tuple-元组-关系表中的一行称为一个元组)

- append(Component)
- insert(pos,Component)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

2835d ago

Major Versions

v1.0.1 → v2.02018-08-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f29043b8f5aebb2d7a34302c1bc1626bd711398bb0c5387cd8630b45057a4c9?d=identicon)[awei.tian](/maintainers/awei.tian)

---

Top Contributors

[![aweitian](https://avatars.githubusercontent.com/u/6269615?v=4)](https://github.com/aweitian "aweitian (9 commits)")

---

Tags

datacomponenttuple

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aweitian-data/health.svg)

```
[![Health](https://phpackages.com/badges/aweitian-data/health.svg)](https://phpackages.com/packages/aweitian-data)
```

###  Alternatives

[fakerphp/faker

Faker is a PHP library that generates fake data for you.

3.9k358.5M3.5k](/packages/fakerphp-faker)[dflydev/dot-access-data

Given a deep data structure, access data by dot notation.

718359.1M86](/packages/dflydev-dot-access-data)[phpoffice/common

PHPOffice Common

23512.3M36](/packages/phpoffice-common)[mbezhanov/faker-provider-collection

A collection of custom providers for the Faker library

2138.6M24](/packages/mbezhanov-faker-provider-collection)[php-units-of-measure/php-units-of-measure

A PHP library for converting between standard units of measure.

3123.4M20](/packages/php-units-of-measure-php-units-of-measure)[amenadiel/jpgraph

Composer Friendly, full refactor of JpGraph, library to make graphs and charts

1492.2M7](/packages/amenadiel-jpgraph)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
