PHPackages                             phant/value - 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. phant/value

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phant/value
===========

Manage value easily

0.2(2y ago)04.4k↓67.4%MITPHPPHP &gt;=8.1

Since Jan 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/PhantPHP/value)[ Packagist](https://packagist.org/packages/phant/value)[ RSS](/packages/phant-value/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Value
=====

[](#value)

Requirements
------------

[](#requirements)

PHP &gt;= 8.1

Install
-------

[](#install)

`composer require phant/value`

Usages
------

[](#usages)

```
use Phant\Value\Handler\Text;

$sentence = ' Yesterday they opened a new «café» ,  would you like to go there? ';

echo (new Text($sentence))->testBeginsWithVowel() ? 'yes' : 'no'; // "yes"

echo (new Text($sentence))->removeUselessSpaces(); // "Yesterday they opened a new «café» , would you like to go there?"

echo (new Text($sentence))->removeAccents(); // " Yesterday they opened a new «cafe» ,would you like to go there? "

echo (new Text($sentence))->useNonBreakingSpaces(); // "Yesterday they opened a new « café », would you like to go there ?"

echo (new Text($sentence))->makeTypographicSpaces(); // "Yesterday they opened a new « café », would you like to go there ?"

echo (new Text($sentence))->upperInitial(); // "Yesterday they opened a new «café» ,would you like to go there? "

echo (new Text($sentence))->lowerInitial(); // "yesterday they opened a new «café» ,would you like to go there? "

echo (new Text($sentence))->upper(); // " YESTERDAY THEY OPENED A NEW «CAFÉ» ,WOULD YOU LIKE TO GO THERE? "

echo (new Text($sentence))->lower(); // " yesterday they opened a new «café» ,would you like to go there? "
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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 ~403 days

Total

2

Last Release

864d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ce749176c74e4c4fd7bd457cdad471fd1e0e14092259e60e7330724ce622dce?d=identicon)[Phant](/maintainers/Phant)

---

Top Contributors

[![lennyrouanet](https://avatars.githubusercontent.com/u/5269913?v=4)](https://github.com/lennyrouanet "lennyrouanet (3 commits)")

---

Tags

value handlervalue managervalue componentvalue servicevalue sender

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phant-value/health.svg)

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

###  Alternatives

[symfony/ux-turbo

Hotwire Turbo integration for Symfony

3928.2M75](/packages/symfony-ux-turbo)[georgringer/faker

Faker for TYPO3

165.2k](/packages/georgringer-faker)

PHPackages © 2026

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