paquettg/string-encode
Facilitating the process of altering string encoding in PHP.
Maintainers
Fund package maintenance!
Requires
- php: >=7.2
- ext-mbstring: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- mockery/mockery: ^1.3
- phan/phan: ^3.2
- php-coveralls/php-coveralls: ^2.4.2
- phpunit/phpunit: ^8.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT e808e6d21ae68a0e9c4f643b34b7430ab87fa2c1
- Gilles Paquette <paquettg.woop@gmail.com>
This package is auto-updated.
Last update: 2026-06-29 01:07:19 UTC
README
๐ Build Status
๐ Coverage Status
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 paquettg/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
Support String Encoder Financially
Get supported String Encoder and help fund the project with the Tidelift Subscription.
Tidelift delivers commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use.
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.
