PHPackages                             jakiboy/encoder - 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. jakiboy/encoder

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

jakiboy/encoder
===============

PHP String Encoding Helper (UTF-8)

1.0.3(2y ago)119MITPHPPHP &gt;=7.2.5

Since Aug 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Jakiboy/Encoder)[ Packagist](https://packagist.org/packages/jakiboy/encoder)[ Docs](https://jakiboy.github.io/Encoder/)[ RSS](/packages/jakiboy-encoder/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Encoder
=======

[](#encoder)

PHP String Encoding Helper (UTF-8) to fix mixed encoded strings.

🔧 Installing:
-------------

[](#-installing)

#### Using Composer:

[](#using-composer)

```
composer require jakiboy/encoder

```

💡 Example:
----------

[](#-example)

### Basic:

[](#basic)

```
use Encoding\Encoder;

$string = 'MonÃ©tius nÃ´s tumore Ã®nusitÃ to quàdam et novo ut rebÃ¨llis';
echo (new Encoder())->sanitize($string);
```

```
Monétius nôs tumore înusitàto quàdam et novo ut rebèllis

```

### Advanced: Iconv (TRANSLIT)

[](#advanced-iconv-translit)

```
use Encoding\Encoder;

$string = 'Монётиусę ėįšнôс тумореųūž îнуситàто qуодам ет ново ут ребэллис';
echo (new Encoder(true, 'TRANSLIT'))->sanitize($string);
```

```
Монётиусę ėįšнôс тумореųūž îнуситàто qуодам ет ново ут ребэллис

```

### Advanced: Iconv (IGNORE)

[](#advanced-iconv-ignore)

```
use Encoding\Encoder;

$string = 'Монётиусę ėįšнôс тумореųūž îнуситàто qуодам ет ново ут ребэллис';
echo (new Encoder(true, 'IGNORE'))->sanitize($string);
```

```
ô îà q

```

Authors:
--------

[](#authors)

- **Jihad Sinnaour** - [Jakiboy](https://github.com/Jakiboy) (*Initial work*)

See also the full list of [contributors](https://github.com/Jakiboy/Encoder/contributors) who participated in this project. Any suggestions (Pull requests) are welcome!

License:
--------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](https://github.com/Jakiboy/Encoder/blob/master/LICENSE) file for details.

⭐ Support:
----------

[](#-support)

Please give it a Star if you like the project.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Every ~6 days

Total

4

Last Release

1044d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7604550?v=4)[Jakiboy](/maintainers/Jakiboy)[@Jakiboy](https://github.com/Jakiboy)

---

Top Contributors

[![Jakiboy](https://avatars.githubusercontent.com/u/7604550?v=4)](https://github.com/Jakiboy "Jakiboy (10 commits)")

---

Tags

utf-8stringsencoder

### Embed Badge

![Health badge](/badges/jakiboy-encoder/health.svg)

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

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.3k900.4M875](/packages/doctrine-inflector)[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.1k430.4M1.7k](/packages/nette-utils)[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.3M192](/packages/danielstjules-stringy)[voku/portable-utf8

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

52323.5M49](/packages/voku-portable-utf8)[snipe/banbuilder

Library to easily handle profanity filtering in PHP projects.

3291.6M3](/packages/snipe-banbuilder)[opis/string

Multibyte strings as objects

7626.6M9](/packages/opis-string)

PHPackages © 2026

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