Registry / utility / symfony-polyfill-intl-grapheme

symfony-polyfill-intl-grapheme

JSON →
library1.38.1phppackagistunverified

Symfony polyfill for intl's grapheme_* functions

composer require symfony/polyfill-intl-grapheme
INSTALL
IMPORT
SIG · SYMFONY-POLYFILL-I
S
symfony-polyfill-intl-grapheme
utilityphpv1.38.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Grapheme
use Symfony\Polyfill\Intl\Grapheme\Grapheme;

Use the polyfill to get grapheme string length

<?php require_once 'vendor/autoload.php'; use Symfony\Polyfill\Intl\Grapheme\Grapheme; echo Grapheme::grapheme_strlen('Hello');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.38.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
symfony-polyfill-intl-grapheme — pip install symfony-polyfill-intl-grapheme · libregistry