symfony/polyfill-intl-grapheme 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

symfony/polyfill-intl-grapheme

最新稳定版本:v1.33.0

Composer 安装命令:

composer require symfony/polyfill-intl-grapheme

包简介

Symfony polyfill for intl's grapheme_* functions

README 文档

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-8
  • grapheme_stripos: Find position (in grapheme units) of first occurrence of a case-insensitive string
  • grapheme_stristr: Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack
  • grapheme_strlen: Get string length in grapheme units
  • grapheme_strpos: Find position (in grapheme units) of first occurrence of a string
  • grapheme_strripos: Find position (in grapheme units) of last occurrence of a case-insensitive string
  • grapheme_strrpos: Find position (in grapheme units) of last occurrence of a string
  • grapheme_strstr: Returns part of haystack string from the first occurrence of needle to the end of haystack
  • grapheme_substr: Return part of a string
  • grapheme_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.

统计信息

  • 总下载量: 663.43M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1733
  • 点击次数: 1
  • 依赖项目数: 19
  • 推荐数: 0

GitHub 信息

  • Stars: 1733
  • Watchers: 3
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04