opis / string
Multibyte strings as objects
2.2.0
2026-11-24 21:41 UTC
README
Multibyte strings
Opis String is a tiny library that allows you to work with multibyte encoded strings in an object-oriented manner. The library has no dependencies to mb_string or similar PHP extensions.
Documentation
The full documentation for this library can be found here.
License
Opis String is licensed under the Apache License, Version 2.0.
Requirements
- PHP ^7.4 || ^8.0
- ext-json
- ext-iconv
Installation
Opis String is available on Packagist, and it can be installed from a command line interface by using Composer.
composer require opis/string
Or you could directly reference it into your composer.json file as a dependency
{
"require": {
"opis/string": "^2.2"
}
}