PHPackages                             dizatech/string-encode - 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. dizatech/string-encode

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

dizatech/string-encode
======================

Facilitating the process of altering string encoding in PHP.

1.0.2(2y ago)03MITPHPPHP &gt;=7.1

Since Dec 13Pushed 2y agoCompare

[ Source](https://github.com/dizatech/string-encoder)[ Packagist](https://packagist.org/packages/dizatech/string-encode)[ Docs](https://github.com/paquettg/string-encoder)[ RSS](/packages/dizatech-string-encode/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

String Encode
=============

[](#string-encode)

Version 1.0.1

String Encode is a simple PHP wrapper package to facilitate the encoding of strings in different charsets.

Install
-------

[](#install)

This package can be found on [packagist](https://packagist.org/packages/paquettg/stringencode) and is best loaded using [composer](http://getcomposer.org/). It does require php 7.1 or higher, so keep that in consideration.

Usage
-----

[](#usage)

This is a really simple package so there is not much to say about it. The following is just about the only usage for this package at the moment.

```
use stringEncode\Encode;

$str    = "Calendrier de l'avent façon Necta!"
$encode = new Encode;
$encode->detect($str);
$newstr = $encode->convert($str);
echo $newstr; // "Calendrier de l'avent façon Necta!" in UTF-8 encoding (default)
```

As you can see, it is a very simple encoding converter.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~908 days

Total

5

Last Release

905d ago

Major Versions

0.1.1 → 1.0.02018-12-21

PHP version history (2 changes)0.1.0PHP &gt;=5.4

1.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ca25b6ce9e40a205b65efd8c9fb92865bbf6d4586f11be7ca76be0d4151b808?d=identicon)[omidfarahani](/maintainers/omidfarahani)

---

Top Contributors

[![paquettg](https://avatars.githubusercontent.com/u/2430962?v=4)](https://github.com/paquettg "paquettg (10 commits)")[![omidfarahani](https://avatars.githubusercontent.com/u/10830204?v=4)](https://github.com/omidfarahani "omidfarahani (1 commits)")

---

Tags

stringencodingcharset

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dizatech-string-encode/health.svg)

```
[![Health](https://phpackages.com/badges/dizatech-string-encode/health.svg)](https://phpackages.com/packages/dizatech-string-encode)
```

###  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)[paragonie/constant_time_encoding

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

903329.7M148](/packages/paragonie-constant-time-encoding)[paquettg/string-encode

Facilitating the process of altering string encoding in PHP.

698.7M43](/packages/paquettg-string-encode)[zbateson/mb-wrapper

Wrapper for mbstring with fallback to iconv for encoding conversion and string manipulation

4948.6M5](/packages/zbateson-mb-wrapper)[opis/string

Multibyte strings as objects

7420.9M7](/packages/opis-string)[ddeboer/transcoder

Better encoding conversion for PHP

16705.6k10](/packages/ddeboer-transcoder)

PHPackages © 2026

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