PHPackages                             crysalead/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. crysalead/string

Abandoned → [crysalead/text](/?search=crysalead%2Ftext)Library[Utility &amp; Helpers](/categories/utility)

crysalead/string
================

String manipulation library

2.0.0(10y ago)43.9k↓100%1MITPHPPHP &gt;=5.4

Since Jul 21Pushed 9y ago2 watchersCompare

[ Source](https://github.com/crysalead/text)[ Packagist](https://packagist.org/packages/crysalead/string)[ RSS](/packages/crysalead-string/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Text - String manipulation library
==================================

[](#text---string-manipulation-library)

[![Build Status](https://camo.githubusercontent.com/ad5e41048b6b42d1d5996366603a2ff1dad97f1f529a1c99d24293193a7f577d/68747470733a2f2f7472617669732d63692e6f72672f63727973616c6561642f746578742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/crysalead/text)[![Code Coverage](https://camo.githubusercontent.com/1a114ac53cceca8b180d0af7a1e838724f686bb9bcb2a0048b8613c41f58bd6e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63727973616c6561642f746578742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/crysalead/text/)

A small library that replaces placeholders into a string template.

API
---

[](#api)

### Replacing some placeholders

[](#replacing-some-placeholders)

```
Text::insert('My name is {:name} and I am {:age} years old.', [
    'name' => 'Bob', 'age' => '65'
]);
```

###  Health Score

31

—

LowBetter than 70% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~69 days

Total

3

Last Release

3762d ago

Major Versions

1.0.1 → 2.0.02015-12-06

PHP version history (2 changes)1.0.0PHP &gt;=5.4

1.0.1PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/67c78f317fdfb9f077b1f16c88193192f7562e999c536b25943b759c3b5099fb?d=identicon)[jails](/maintainers/jails)

---

Top Contributors

[![jails](https://avatars.githubusercontent.com/u/1306941?v=4)](https://github.com/jails "jails (13 commits)")

---

Tags

string manipulation

### Embed Badge

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

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

###  Alternatives

[opis/string

Multibyte strings as objects

7119.4M6](/packages/opis-string)[andreas-glaser/php-helpers

A comprehensive collection of PHP utility functions for array manipulation, string operations, date handling, HTML generation, form building, validation, and more. Modern PHP 8.2+ library with full type safety.

1386.0k2](/packages/andreas-glaser-php-helpers)

PHPackages © 2026

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