Russian metaphone phonetic algorithm implementation for PHP alternatives and similar libraries
Based on the "Strings" category.
Alternatively, view Russian metaphone phonetic algorithm implementation for PHP 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. -
Stringy
A PHP string manipulation library with multibyte support -
Jieba-PHP
"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module. -
Regex
A sane interface for php's built in preg_* functions -
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. -
ANSI to HTML5
An ANSI to HTML5 converter -
HtmlMin
:clamp: HtmlMin: HTML Compressor and Minifier via PHP -
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 -
Url highlight
PHP library to parse urls from string input -
Opis String
Multibyte strings as objects -
Text
Text - Simple 1 Class Text Manipulation Library -
Hoa String
Another UTF-8 string library. -
UA Parser
A library for parsing user agent strings.
Static code analysis for 29 languages.
* 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 Russian metaphone phonetic algorithm implementation for PHP or a related project?
Popular Comparisons
-
Russian metaphone phonetic algorithm implementation for PHPvsUrl highlight
-
Russian metaphone phonetic algorithm implementation for PHPvsMobile-Detect
-
Russian metaphone phonetic algorithm implementation for PHPvsURLify
-
Russian metaphone phonetic algorithm implementation for PHPvsDevice Detector
-
Russian metaphone phonetic algorithm implementation for PHPvsStringy
README
Russian metaphone phonetic algorithm implementation for PHP
port of ruby's https://github.com/pavlo/russian_metaphone
https://en.wikipedia.org/wiki/Metaphone
see http://forum.aeroion.ru/topic461.html (Russian algorithm description)
Installation
composer require insolita/metaphone
Usage
<?php
$word = 'вода';
$phonetic = (new Metaphone())->processWord($word); //вада
Default set of filters include filter for lastname endings, if you want exclude only these filter, you can use helper
$withLastnames = (new Metaphone())->processWord('Чернышевский'); //чирнаш#
$withoutLastnames = (new Metaphone())->skipLastnames()->processWord('Чернышевский'); //чирнашифский
Provide custom filters. Each filter must implement insolita\metaphone\Filter
$metaphone = new Metaphone([Normalize::class, new CustomFilter($params), new HandleConsonants(true), ...])
$phonetic = $metaphone->processWord($word);
See tests folder for better understanding filters