PHPackages                             ajf/typed-arrays - 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. ajf/typed-arrays

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

ajf/typed-arrays
================

Typed Arrays for PHP 7

1454131PHP

Since Jan 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/TazeTSchnitzel/TypedArrays)[ Packagist](https://packagist.org/packages/ajf/typed-arrays)[ RSS](/packages/ajf-typed-arrays/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

Typed Arrays for PHP
====================

[](#typed-arrays-for-php)

[`ajf/typed-arrays`](https://packagist.org/packages/ajf/typed-arrays) is a Composer package which implements [ECMAScript Typed Arrays](http://www.ecma-international.org/ecma-262/6.0/#sec-typedarray-objects) (previously a Khronos Group standard) for PHP 7.

Why would you want this? For reduced memory usage, of course!

What's supported
----------------

[](#whats-supported)

- [`ArrayBuffer`](https://www.khronos.org/registry/typedarray/specs/latest/#5)
- [Typed array views](https://www.khronos.org/registry/typedarray/specs/latest/#7)
    - [`Uint8ClampedArray`](https://www.khronos.org/registry/typedarray/specs/latest/#7.1)
- [`DataView`](https://www.khronos.org/registry/typedarray/specs/latest/#8)

What's not (yet) supported
--------------------------

[](#whats-not-yet-supported)

- [Correct type conversion rules](https://www.khronos.org/registry/typedarray/specs/latest/#3)
- [`Transferable`](https://www.khronos.org/registry/typedarray/specs/latest/#9) (useless in the context of PHP)
- 32-bit platforms
- PHP 5.x

What really needs to be done and hasn't been
--------------------------------------------

[](#what-really-needs-to-be-done-and-hasnt-been)

- Remaining `TypedArray` tests
- Writing `DataView` tests
- Release version

Usage
-----

[](#usage)

\###End-user

Require `ajf/typed-arrays` in composer. Note that only `dev-master` exists for now.

\###Developer

Tests can be run with `phpunit`.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/724611fb49c94fab145b2965f6014caae9bee4620227fe1bdf3a4e353a0f23a9?d=identicon)[ajf](/maintainers/ajf)

---

Top Contributors

[![hikari-no-yume](https://avatars.githubusercontent.com/u/579774?v=4)](https://github.com/hikari-no-yume "hikari-no-yume (4 commits)")

### Embed Badge

![Health badge](/badges/ajf-typed-arrays/health.svg)

```
[![Health](https://phpackages.com/badges/ajf-typed-arrays/health.svg)](https://phpackages.com/packages/ajf-typed-arrays)
```

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

363.5k](/packages/spatie-unit-conversions)[devaly/wordpress-routes

Manage rewrites and routes in WordPress with this dead-simple plugin

101.2k](/packages/devaly-wordpress-routes)

PHPackages © 2026

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