Back to rankings

symfony/polyfill-intl-grapheme

PHPsymfony.com/polyfill-intl-grapheme

Symfony polyfill for intl's grapheme_* functions

symfonycomponentsymfony-componentpolyfillcompatibilitygraphemeintljavascriptportableshimsymfony-polyfill
Star Growth
Stars
1.7k
Forks
5
Weekly Growth
Issues
0
5001k1.5k
Feb 2016Jul 2019Jan 2023Jul 2026
ArtifactsPackagistcomposer require symfony/polyfill-intl-grapheme
README

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-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.

Related repositories
symfony/symfony

The Symfony PHP framework

PHPPackagistMIT Licenseframeworkphp
symfony.com
31.1k9.8k
getgrav/grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony

PHPPackagistMIT Licensephpcms
getgrav.org
15.6k1.4k
wallabag/wallabag

wallabag is a self hostable application for saving web pages: Save and classify articles. Read them later. Freely.

PHPPackagistMIT Licensewallabagphp
wallabag.org
12.8k883
symfony/console

Eases the creation of beautiful and testable command line interfaces

PHPPackagistMIT Licensephpsymfony
symfony.com/console
9.8k266
api-platform/api-platform

🕸️ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

PHPPackagistMIT Licenseapiframework
api-platform.com
9.2k972
symfony/http-foundation

Defines an object-oriented layer for the HTTP specification

PHPPackagistMIT Licensephpsymfony
symfony.com/http-foundation
8.6k307
symfony/event-dispatcher

Provides tools that allow your application components to communicate with each other by dispatching events and listening to them

PHPPackagistMIT Licensephpsymfony
symfony.com/event-dispatcher
8.5k66
Sylius/Sylius

Headless open-source eCommerce platform on top of PHP/Symfony/API Platform

PHPPackagistMIT Licensesyliusphp
sylius.com
8.5k2.2k
symfony/finder

Finds files and directories via an intuitive fluent interface

PHPPackagistMIT Licensephpsymfony
symfony.com/finder
8.4k56
symfony/http-kernel

Provides a structured process for converting a Request into a Response

PHPPackagistMIT Licensephpsymfony
symfony.com/http-kernel
8.1k98
symfony/polyfill-mbstring

Symfony polyfill for the Mbstring extension

PHPPackagistMIT Licensesymfonypolyfill
symfony.com/polyfill-mbstring
7.8k39
symfony/routing

Maps an HTTP request to a set of configuration variables

PHPPackagistMIT Licensephpsymfony
symfony.com/routing
7.6k92