PHPackages                             symfony/string - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. symfony/string

ActiveLibrary[Localization &amp; i18n](/categories/localization)

symfony/string
==============

Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way

v8.1.0(1mo ago)1.8k777.3M↓16.9%1920MITPHPPHP &gt;=8.4.1

Since Nov 9Pushed 6d ago7 watchersCompare

[ Source](https://github.com/symfony/string)[ Packagist](https://packagist.org/packages/symfony/string)[ Docs](https://symfony.com)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-string/feed)WikiDiscussions 8.2 Synced 2d ago

READMEChangelog (10)Dependencies (45)Versions (230)Used By (20)

String Component
================

[](#string-component)

The String component provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way.

Sponsor
-------

[](#sponsor)

This package is looking for a [backer](https://symfony.com/backers).

Help Symfony by [sponsoring](https://symfony.com/sponsor) its development!

Resources
---------

[](#resources)

- [Documentation](https://symfony.com/doc/current/components/string.html)
- [Contributing](https://symfony.com/doc/current/contributing/index.html)
- [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls)in the [main Symfony repository](https://github.com/symfony/symfony)

###  Health Score

84

—

ExcellentBetter than 100% of packages

Maintenance96

Actively maintained with recent releases

Popularity79

Solid adoption and visibility

Community53

Growing community involvement

Maturity95

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 51.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Recently: every ~0 days

Total

230

Last Release

6d ago

Major Versions

v6.4.39 → v7.4.112026-05-13

v7.4.11 → v8.0.112026-05-13

v7.4.13 → v8.0.132026-05-23

6.4.x-dev → 7.4.x-dev2026-06-27

7.4.x-dev → 8.0.x-dev2026-06-27

PHP version history (8 changes)v5.0.0-RC1PHP ^7.2.9

v5.0.1PHP ^7.2.5

v5.0.10PHP &gt;=7.2.5

v6.0.0-BETA1PHP &gt;=8.0.2

v6.1.0-BETA1PHP &gt;=8.1

v7.0.0-BETA1PHP &gt;=8.2

v8.0.0PHP &gt;=8.4

v8.1.0-BETA1PHP &gt;=8.4.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (281 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (80 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (54 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (50 commits)")[![fancyweb](https://avatars.githubusercontent.com/u/3658119?v=4)](https://github.com/fancyweb "fancyweb (21 commits)")[![alexandre-daubois](https://avatars.githubusercontent.com/u/2144837?v=4)](https://github.com/alexandre-daubois "alexandre-daubois (8 commits)")[![keradus](https://avatars.githubusercontent.com/u/2716794?v=4)](https://github.com/keradus "keradus (6 commits)")[![gharlan](https://avatars.githubusercontent.com/u/330436?v=4)](https://github.com/gharlan "gharlan (6 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (5 commits)")[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (3 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (3 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (3 commits)")[![tigitz](https://avatars.githubusercontent.com/u/1524501?v=4)](https://github.com/tigitz "tigitz (3 commits)")[![wouterj](https://avatars.githubusercontent.com/u/749025?v=4)](https://github.com/wouterj "wouterj (3 commits)")[![simonberger](https://avatars.githubusercontent.com/u/7163526?v=4)](https://github.com/simonberger "simonberger (2 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (2 commits)")[![podhy](https://avatars.githubusercontent.com/u/4160145?v=4)](https://github.com/podhy "podhy (2 commits)")[![smnandre](https://avatars.githubusercontent.com/u/1359581?v=4)](https://github.com/smnandre "smnandre (2 commits)")[![jderusse](https://avatars.githubusercontent.com/u/578547?v=4)](https://github.com/jderusse "jderusse (2 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (2 commits)")

---

Tags

componentgraphemei18nphpstringsymfonysymfony-componentunicodeutf-8utf8utf-8i18nutf8stringunicodegrapheme

### Embed Badge

![Health badge](/badges/symfony-string/health.svg)

```
[![Health](https://phpackages.com/badges/symfony-string/health.svg)](https://phpackages.com/packages/symfony-string)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[twig/twig

Twig, the flexible, fast, and secure template language for PHP

8.7k465.7M7.2k](/packages/twig-twig)[symfony/dom-crawler

Eases DOM navigation for HTML and XML documents

4.1k399.9M2.6k](/packages/symfony-dom-crawler)[symfony/validator

Provides tools to validate values

2.7k306.4M4.1k](/packages/symfony-validator)[symfony/doctrine-bridge

Provides integration for Doctrine with various Symfony components

3.2k200.7M873](/packages/symfony-doctrine-bridge)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
