PHPackages                             awesome/simdutf - 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. awesome/simdutf

ActivePhp-ext[Utility &amp; Helpers](/categories/utility)

awesome/simdutf
===============

Unicode (UTF8, UTF16, UTF32) and Base64 processing at billions of characters per second in PHP using the simdutf library.

1.0.0(1y ago)08[1 issues](https://github.com/awesomized/simdutf-php-ext/issues)Apache-2.0C++PHP ^8.1CI passing

Since Apr 14Pushed 1y ago4 watchersCompare

[ Source](https://github.com/awesomized/simdutf-php-ext)[ Packagist](https://packagist.org/packages/awesome/simdutf)[ Docs](https://github.com/awesomized/simdutf-php-ext)[ RSS](/packages/awesome-simdutf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

`awesome/simdutf`
=================

[](#awesomesimdutf)

[![Tests status](https://github.com/awesomized/simdutf-php-ext/workflows/Tests/badge.svg)](https://github.com/awesomized/simdutf-php-ext/actions?query=workflow%3ATests)[![Latest Stable Version](https://camo.githubusercontent.com/2304c652935e8026b1b771b966ec1f646349b473c6ab29807fcf67239bb5480f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617765736f6d652f73696d64757466)](https://packagist.org/packages/awesome/simdutf)

Unicode and Base64 routines at billions of characters per second in PHP using the [simdutf](https://github.com/simdutf/simdutf) library.

Accelerates Unicode routines (UTF8, UTF16, UTF32) and Base64 using SSE2, AVX2, NEON, AVX-512, RISC-V Vector Extension, LoongArch64, etc.

The `simdutf` library is already part of Node.js, Bun, WebKit, Chromium, Cloudflare Workers, and more. Now it can be used with PHP.

Related SIMD-accelerated PHP extensions
---------------------------------------

[](#related-simd-accelerated-php-extensions)

- [crc\_fast](https://packagist.org/packages/awesome/crc_fast) PHP extension for SIMD-accelerated CRC calculations at &gt;100GiB/s.
- [simdjson\_plus](https://packagist.org/packages/awesome/simdjson_plus) PHP extension for parsing gigabytes of JSON per second using the [simdjson](https://github.com/simdjson/simdjson) project.

Changes
-------

[](#changes)

See the [change log](CHANGELOG.md).

Installing
----------

[](#installing)

Use [Composer](https://getcomposer.org) to install this library using [PIE](https://github.com/php/pie):

```
composer install awesome/simdutf
```

Building
--------

[](#building)

Like most `PHP` extensions, you can also build yourself:

```
$ phpize
$ ./configure
$ make
$ make test
$ make install
```

And add the following line to your `php.ini`:

```
extension=simdutf.so

```

Usage
-----

[](#usage)

Supplies all the [simdutf API](https://github.com/simdutf/simdutf#api) functions as PHP functions in the `SimdUtf` namespace (e.g., `simdutf::validate_utf8()` becomes `\SimdUtf\validate_utf8()`).

See the [stubs file](simdutf.stub.php) for a complete list of functions.

References
----------

[](#references)

- [simdutf](https://github.com/simdutf/simdutf) the `simdutf` library
- [simdutf-rs](https://github.com/Nugine/simdutf-rs) the Rust bindings for `simdutf`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance47

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

399d ago

### Community

Maintainers

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

---

Top Contributors

[![onethumb](https://avatars.githubusercontent.com/u/569776?v=4)](https://github.com/onethumb "onethumb (2 commits)")

---

Tags

utf8unicodebase64utf16simdutf32

### Embed Badge

![Health badge](/badges/awesome-simdutf/health.svg)

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[voku/portable-utf8

Portable UTF-8 library - performance optimized (unicode) string functions for php.

52322.4M40](/packages/voku-portable-utf8)[paragonie/constant_time_encoding

Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)

903329.7M148](/packages/paragonie-constant-time-encoding)[jbroadway/urlify

A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs.

6737.4M62](/packages/jbroadway-urlify)[ausi/slug-generator

Slug Generator

8002.2M22](/packages/ausi-slug-generator)[spomky-labs/base64url

Base 64 URL Safe Encoding/Decoding PHP Library

15439.5M49](/packages/spomky-labs-base64url)

PHPackages © 2026

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