PHPackages                             wgd/data-types - 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. wgd/data-types

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

wgd/data-types
==============

PHP data types

011PHP

Since Sep 29Pushed 1y agoCompare

[ Source](https://github.com/wanggandan/data-types)[ Packagist](https://packagist.org/packages/wgd/data-types)[ RSS](/packages/wgd-data-types/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

DataTypes lib
=============

[](#datatypes-lib)

This lib provides Binary buffer capabilities, also Base16, Base64, Bitwise (Base2) buffers/objects for proper type handling, BigNumber objects via BcMath and several helper functions that are essential for libs and apps.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.2
- ext-bcmath
- ext-mbstring

Installation
------------

[](#installation)

`composer require comely-io/data-types`

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 95.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/aaa0a0b7ded5e96d9ad467e90168d98b737c2ba5323db698a413d02e167fde68?d=identicon)[wanggandan](/maintainers/wanggandan)

---

Top Contributors

[![furqansiddiqui](https://avatars.githubusercontent.com/u/11485189?v=4)](https://github.com/furqansiddiqui "furqansiddiqui (45 commits)")[![wanggandan](https://avatars.githubusercontent.com/u/172899696?v=4)](https://github.com/wanggandan "wanggandan (2 commits)")

### Embed Badge

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

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

###  Alternatives

[elfsundae/laravel-hashid

A simple, elegant way to obfuscate your data by generating reversible, non-sequential, URL-safe identifiers.

415246.3k2](/packages/elfsundae-laravel-hashid)[camroncade/timezone

Helps manage timezones in Laravel. Includes &lt;select&gt; form builder for timezones.

162982.4k7](/packages/camroncade-timezone)[spatie/statamic-responsive-images

Responsive Images for Statamic

113241.9k](/packages/spatie-statamic-responsive-images)

PHPackages © 2026

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