Skip to content

devanoxltd/string-encoder

 
 

String Encoder

String Encode is a PHP is a simple, flexible, package with the goal of assisting developers with handling MB strings and encodings.

Install

Install the latest version using composer.

$ composer require devanoxltd/string-encode

Basic Usage

<?php

use StringEncoder\Encoder;

$str     = "Calendrier de l'avent façon Necta!";
$encoder = new Encoder();
$newstr  = $encoder->convert()->fromString($str)->toString();
echo $newstr; // "Calendrier de l'avent façon Necta!" in UTF-8 encoding (default)

Documentation

About

Requirements

  • String Encoder works with PHP 7.2, 7.3, and 7.4.

Submitting bugs and feature requests

Bugs and feature requests are tracked on GitHub

Authors

Gilles Paquette See also the list of contributors who participated in this project.

License

String Encode is licensed under the MIT License - see LICENSE file for details.

Credit

This is forked from paquettg/string-encoder

About

Facilitating the process of altering string encoding in PHP.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • PHP 100.0%