Symfony Polyfill / Intl: Grapheme

Overview

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

More information can be found in the main Polyfill README.

License

This library is released under the MIT license.

You might also like...
Enraged Xenomorph - DDD/CQRS Symfony Application Boilerplate
Enraged Xenomorph - DDD/CQRS Symfony Application Boilerplate

Enraged Xenomorph - DDD/CQRS Symfony Application Boilerplate This project is very opinionated attempt to compile a bit of experience, few good practic

Sanitize untrustworthy HTML user input (Symfony integration for https://github.com/tgalopin/html-sanitizer)

html-sanitizer is a library aiming at handling, cleaning and sanitizing HTML sent by external users (who you cannot trust), allowing you to store it and display it safely. It has sensible defaults to provide a great developer experience while still being entierely configurable.

Symfony bundle for class/method memoization

Symfony service memoization bundle This bundle provides memoization for your services - every time you call the same method with the same arguments a

Twig extensions for common navigation widgets for symfony.

Twig Navigation Extension This bundle provides a Twig extensions for common navigation widgets. Installation composer require m2mtech/twig-navigation-

A Symfony2 bundle that integrates Select2 as a drop-in replacement for a standard entity field on a Symfony form.
A Symfony2 bundle that integrates Select2 as a drop-in replacement for a standard entity field on a Symfony form.

select2entity-bundle Introduction This is a Symfony bundle which enables the popular Select2 component to be used as a drop-in replacement for a stand

[Abandoned] Symfony SonataNotificationBundle

SonataNotificationBundle Symfony SonataNotificationBundle Branch Github Actions Code Coverage Documentation 3.x 4.x WARNING: This repository is abando

Google Analytics Measurement Protocol Package for Symfony

Google Analytics Measurement Protocol Package for Symfony. Supports all GA Measurement Protocol API methods.

AccessibleBundle provides an Accessible integration for your Symfony projects

AccessibleBundle AccessibleBundle provides an Accessible integration for your Symfony projects. This will allow you to define your class behavior usin

Simple php-imap integration for Symfony 2.8, 3.x and 4.x.

PHP-IMAP integration bundle Simple php-imap integration for Symfony 4.x, 5.x and 6.x. The version 1.5 and above are only compatible with Symfony 4+. P

Comments
  • Fix PCRE_VERSION comparison when the version has a timestamp

    Fix PCRE_VERSION comparison when the version has a timestamp

    PCRE_VERSION constant might (or always) contains the date, as in: MAJOR.MINOR Y-m-d, or 10.35 2020-05-09, refer to https://www.php.net/manual/en/pcre.constants.php

    This PR fixes the version compare to account for the date, according to these tests:

    • Before, notice that 10.35 2020-05-09 is considered lower than 8.32: https://3v4l.org/imMSe#v8.0.10
    • After: https://3v4l.org/IfSJi#v8.0.10
    opened by Luc45 1
Intl support for Twig

Twig Intl Extension This package is a Twig extension that provides the following: country_name filter: returns the country name given its two-letter/f

Twig 234 Dec 27, 2022
Simple Symfony API-Platform Template which you can use to start to develop with symfony and api-platform

symfony-api-platform-skeleton Simple Template for Symfony API You can fork it and change the git remote to your Repo git remote set-url <your-git-remo

null 1 Jan 23, 2022
Dockerise Symfony Application (Symfony 6 + Clean Architecture+ DDD+ CQRS + Docker + Xdebug + PHPUnit + Doctrine ORM + JWT Auth + Static analysis)

Symfony Dockerise Symfony Application Install Docker Install Docker Compose Docker PHP & Nginx Create Symfony Application Debugging Install Xdebug Con

null 48 Jan 5, 2023
A Symfony Feature Flag Bundle which easily allows you to configure and use your favorite feature flag provider.

Metro Markets FF Metro Markets FF is a Feature Flag Symfony Bundle. It easily allows you to configure and use your favorite feature flag provider. Ins

METRO Markets 14 May 23, 2022
A Symfony bundle built to schedule/consume repetitive tasks

Daily runs Code style Infection PHPUnit Rector Security Static analysis A Symfony bundle built to schedule/consume repetitive tasks Main features Exte

Guillaume Loulier 98 Jan 4, 2023
ENI Ecole Informatique, PHP Symfony projet

ENI Ecole project La société ENI souhaite développer pour ses stagiaires actifs ainsi que ses anciens stagiaires une plateforme web leur permettant d’

null 2 Jan 29, 2022
A complete stack for running Symfony 5 into Docker containers using docker-compose tool and with Certbot for the HTTPS certificate.

?? Docker + PHP 7.4 + MySQL8.0 + Nginx + Certbot(HTTPS) + Symfony 5 Boilerplate ?? Edited from https://github.com/ger86/symfony-docker version -> http

null 6 Nov 9, 2022
This is a PHP library developed for Symfony to collect address information.

Goldbach Algorithms Address Info Getter (fondly nicknamed AIG) is a PHP library developed for Symfony to collect address information.

Goldbach Algorithms 1 Nov 3, 2021
Tabler.io bundle for Symfony - a backend/admin theme for easy integration

Tabler Bundle for Symfony This repository contains a Symfony bundle, integrating the fantastic Tabler.io HTML Template into your Symfony project. It s

Kevin Papst 22 Jan 2, 2023
Instrument commands/workers/custom code with datadog, newrelic, tideways, symfony, spx.

sourceability/instrumentation This library provides a simple interface to start and stop instrumenting code with APMs. Symfony commands and messenger

null 15 Jun 6, 2022