symfony / polyfill-intl-grapheme
Symfony polyfill for intl's grapheme_* functions
Fund package maintenance!
fabpot
Tidelift
symfony.com/sponsor
Requires
- php: >=7.2
Suggests
- ext-intl: For best performance
- 1.x-dev
- v1.31.0
- v1.30.0
- v1.29.0
- v1.28.0
- v1.27.0
- v1.26.0
- v1.25.0
- v1.24.0
- v1.23.1
- v1.23.0
- v1.22.1
- v1.22.0
- v1.20.0
- v1.19.0
- v1.18.1
- v1.18.0
- v1.17.1
- v1.17.0
- v1.16.0
- v1.15.0
- v1.14.0
- v1.13.2
- v1.13.1
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
This package is auto-updated.
Last update: 2024-10-09 12:29:32 UTC
README
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 string
More information can be found in the main Polyfill README.
License
This library is released under the MIT license.