/string

Multibyte strings as objects

Primary LanguagePHPApache License 2.0Apache-2.0

Opis String

Tests Latest Stable Version Latest Unstable Version License

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.0"
    }
}