opis/string

Multibyte strings as objects

Package info

github.com/opis/string

Homepage

pkg:composer/opis/string

Statistics

Installs: 25 743 192

Dependents: 8

Suggesters: 1

Stars: 75

Open Issues: 2

2.1.0 2025-10-17 12:38 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Apache-2.0 3e4d2aaff518ac518530b89bb26ed40f4503635e

  • Marius Sarca <marius.sarca.woop@gmail.com>
  • Sorin Sarca <sarca_sorin.woop@hotmail.com>

utf-8stringopisstring manipulationmulti-byte

This package is auto-updated.

Last update: 2026-06-17 14:25:52 UTC


README

👁 Tests
👁 Packagist Version
👁 Packagist Downloads
👁 Packagist 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.1"
 }
}