PHPackages                             sj-i/typed-cdata - 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. sj-i/typed-cdata

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

sj-i/typed-cdata
================

Working with FFI\\CData through PHP types

v0.0.6(2y ago)31.7k[1 issues](https://github.com/sj-i/typed-cdata/issues)[12 PRs](https://github.com/sj-i/typed-cdata/pulls)1MITPHPPHP ^7.4|^8.0

Since Apr 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/sj-i/typed-cdata)[ Packagist](https://packagist.org/packages/sj-i/typed-cdata)[ RSS](/packages/sj-i-typed-cdata/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (6)Versions (22)Used By (1)

typed-cdata
===========

[](#typed-cdata)

[![Minimum PHP version: 7.4.0](https://camo.githubusercontent.com/89e54687773afb25f5943cfbd66376d73e2ce50874c54429a78aac45cb6bcf84/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342e302532422d626c75652e737667)](https://camo.githubusercontent.com/89e54687773afb25f5943cfbd66376d73e2ce50874c54429a78aac45cb6bcf84/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e342e302532422d626c75652e737667)[![Packagist](https://camo.githubusercontent.com/3d5f4de21978ee3a6a6b35e63f4cf03edf1bea83bc07bd44f888ff829a6cd215/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736a2d692f74797065642d63646174612e737667)](https://packagist.org/packages/sj-i/typed-cdata)[![Github Actions](https://github.com/sj-i/typed-cdata/workflows/build/badge.svg)](https://github.com/sj-i/typed-cdata/actions)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a29a55ad5436e7c861241ee3ea5c30fae0ecde5a177ac30606d3a18113046e9d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736a2d692f74797065642d63646174612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sj-i/typed-cdata/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/d877c1cf1a25b80bae8979c4f87749756c2f99601b3ee53b02cea3d0102a80f1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f736a2d692f74797065642d63646174612f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/sj-i/typed-cdata?branch=master)[![Psalm coverage](https://camo.githubusercontent.com/5dbee06551d3b69200b457fb1402084c20d0544a8545c6307364d94e2f68ab4a/68747470733a2f2f73686570686572642e6465762f6769746875622f736a2d692f74797065642d63646174612f636f7665726167652e7376673f)](https://camo.githubusercontent.com/5dbee06551d3b69200b457fb1402084c20d0544a8545c6307364d94e2f68ab4a/68747470733a2f2f73686570686572642e6465762f6769746875622f736a2d692f74797065642d63646174612f636f7665726167652e7376673f)

Working with FFI\\CData through PHP types

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

[](#installation)

```
composer require sj-i/typed-cdata
```

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

[](#requirements)

- PHP 7.4+ (NTS / ZTS)
- 64bit Linux x86\_64
- FFI extension

LICENSE
-------

[](#license)

- MIT

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance54

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~158 days

Total

6

Last Release

1074d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6488121?v=4)[sji](/maintainers/sj-i)[@sj-i](https://github.com/sj-i)

---

Top Contributors

[![sj-i](https://avatars.githubusercontent.com/u/6488121?v=4)](https://github.com/sj-i "sj-i (21 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (9 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

ffiphpphp-ffitype-safetyphpffi

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sj-i-typed-cdata/health.svg)

```
[![Health](https://phpackages.com/badges/sj-i-typed-cdata/health.svg)](https://phpackages.com/packages/sj-i-typed-cdata)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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