Facilitating the process of altering string encoding in PHP.

Installs: 11 696

Dependents: 2

Stars: 7

Watchers: 1

Forks: 4

Language: PHP

0.1.1 2014-05-29 18:38 UTC


Version 0.1.1

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


This package can be found on packagist and is best loaded using composer. It does require php 5.4 or higher, so keep that in consideration.


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;
$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.