Description
This tiny library allows you to manipulate multibyte encoded strings, using an OO paradigm. The library has no dependencies to mbstring or similar PHP extensions and is compatible with PHP 5.3+, PHP 7.0 and HHVM.
Opis String alternatives and similar libraries
Based on the "Strings" category.
Alternatively, view Opis String alternatives based on common mentions on social networks and blogs.
-
Mobile-Detect
Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. -
UUID
:snowflake: A PHP library for generating universally unique identifiers (UUIDs). -
Agent
👮 A PHP desktop/mobile user agent parser with support for Laravel, based on Mobiledetect -
SQL Formatter
A lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting. -
Device Detector
The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model. -
Slugify
Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte. -
Jieba-PHP
"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module. -
URLify
A fast PHP slug generator and transliteration library that converts non-ascii characters for use in URLs. -
Portable UTF-8
🉑 Portable UTF-8 library - performance optimized (unicode) string functions for PHP. -
Portable ASCII
🔡 Portable ASCII library - performance optimized (ascii) string functions for PHP. -
Color Jizz
ColorJizz is a PHP library for manipulating and converting colors. -
Google Translate For Free
Library for free use Google Translator. With attempts connecting on failure and array support. -
Case converter
Convert strings between 13 naming conventions: Snake case, Camel case, Kebab case, Pascal case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Title case, Sentence case and Dot notation. -
HaikunatorPHP
Generate Heroku-like random names to use in your php applications. -
Patchwork UTF-8
Extensive, portable and performant handling of UTF-8 and grapheme clusters for PHP -
Russian metaphone phonetic algorithm implementation for PHP
Russian metaphone algorithm implementation
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Opis String or a related project?
README
Opis String
Manipulate 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.0
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": "^1.5"
}
}
*Note that all licence references and agreements mentioned in the Opis String README section above
are relevant to that project's source code only.