PHPackages                             webpatser/fledge-portable-ascii - 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. webpatser/fledge-portable-ascii

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

webpatser/fledge-portable-ascii
===============================

PHP 8.5 optimized portable-ascii for Fledge — max performance with ext-mbstring.

v1.0.0(2mo ago)18311MITPHPPHP ^8.5

Since Apr 9Pushed 1mo agoCompare

[ Source](https://github.com/webpatser/fledge-portable-ascii)[ Packagist](https://packagist.org/packages/webpatser/fledge-portable-ascii)[ RSS](/packages/webpatser-fledge-portable-ascii/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

webpatser/fledge-portable-ascii
===============================

[](#webpatserfledge-portable-ascii)

PHP 8.5 optimized drop-in replacement for [`voku/portable-ascii`](https://github.com/voku/portable-ascii), built for [Fledge](https://github.com/webpatser/fledge-framework).

Why a separate package?
-----------------------

[](#why-a-separate-package)

The base [`webpatser/portable-ascii`](https://github.com/webpatser/portable-ascii) supports PHP 8.1+ and conditionally detects extensions at runtime. This variant requires PHP 8.5 and ext-mbstring, removing all conditionals for maximum performance:

- No runtime capability detection: mbstring is always available
- `mb_str_split()` directly (no `preg_match_all` fallback)
- `mb_convert_encoding()` for UTF-8 cleaning (no regex fallback)
- All PHP 8.5 features enabled unconditionally

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

[](#installation)

```
composer require webpatser/fledge-portable-ascii
```

Replaces both `voku/portable-ascii` and `webpatser/portable-ascii` via Composer's `replace` directive.

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

[](#requirements)

- PHP 8.5+
- ext-mbstring (required, not optional)
- ext-intl (optional, used in strict transliteration mode)

Usage
-----

[](#usage)

Same API as `voku/portable-ascii`:

```
use voku\helper\ASCII;

ASCII::to_ascii('Düsseldorf', 'de');    // 'Duesseldorf'
ASCII::to_slugify('Hello Wörld!');      // 'hello-woerld'
ASCII::to_transliterate('こんにちは');   // 'konnichiha'
ASCII::is_ascii('hello');               // true
```

Credits
-------

[](#credits)

Based on [webpatser/portable-ascii](https://github.com/webpatser/portable-ascii), which is a modernized fork of [voku/portable-ascii](https://github.com/voku/portable-ascii) by [Lars Moelleken](https://github.com/voku).

License
-------

[](#license)

MIT

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance88

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

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

61d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

slugunicodeasciitransliteratephp85fledge

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/webpatser-fledge-portable-ascii/health.svg)

```
[![Health](https://phpackages.com/badges/webpatser-fledge-portable-ascii/health.svg)](https://phpackages.com/packages/webpatser-fledge-portable-ascii)
```

###  Alternatives

[jbroadway/urlify

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

6947.8M75](/packages/jbroadway-urlify)[ausi/slug-generator

Slug Generator

8032.3M24](/packages/ausi-slug-generator)[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.2k417.9M1.6k](/packages/nette-utils)[voku/portable-ascii

Portable ASCII library - performance optimized (ascii) string functions for php.

574424.6M158](/packages/voku-portable-ascii)[voku/portable-utf8

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

52023.1M48](/packages/voku-portable-utf8)[joypixels/emoji-toolkit

JoyPixels is a complete set of emoji designed for the web. The emoji-toolkit includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to JoyPixels emoji images. PNG formats provided for the emoji images.

467868.6k7](/packages/joypixels-emoji-toolkit)

PHPackages © 2026

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