opis/string

Multibyte strings as objects

2.0.1 2022-01-14 15:42 UTC

This package is auto-updated.

Last update: 2024-04-14 21:16:38 UTC


README

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