랭킹으로 돌아가기
Symfony polyfill for intl's grapheme_* functions
symfonycomponentsymfony-componentpolyfillcompatibilitygraphemeintljavascriptportableshimsymfony-polyfill
주요 지표
스타 성장
스타
1.7k
포크
5
주간 성장
—
이슈
0
5001k1.5k
2016년 2월2017년 10월2019년 7월2021년 4월2023년 1월2024년 10월2026년 7월
아티팩트Packagist
composer require symfony/polyfill-intl-graphemeREADME
Symfony Polyfill / Intl: Grapheme
This component provides a partial, native PHP implementation of the Grapheme functions from the Intl extension.
grapheme_extract: Extract a sequence of grapheme clusters from a text buffer, which must be encoded in UTF-8grapheme_stripos: Find position (in grapheme units) of first occurrence of a case-insensitive stringgrapheme_stristr: Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystackgrapheme_strlen: Get string length in grapheme unitsgrapheme_strpos: Find position (in grapheme units) of first occurrence of a stringgrapheme_strripos: Find position (in grapheme units) of last occurrence of a case-insensitive stringgrapheme_strrpos: Find position (in grapheme units) of last occurrence of a stringgrapheme_strstr: Returns part of haystack string from the first occurrence of needle to the end of haystackgrapheme_substr: Return part of a stringgrapheme_str_split: Splits a string into an array of individual or chunks of graphemes
More information can be found in the main Polyfill README.
License
This library is released under the MIT license.
관련 저장소