PHPackages                             passionator/string-operations - 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. passionator/string-operations

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

passionator/string-operations
=============================

String operations in PHP

2.0.0(1y ago)04[3 PRs](https://github.com/passionate-laravel-dev/string-operations/pulls)MITPHPPHP ^8.2CI passing

Since Mar 4Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/passionate-laravel-dev/string-operations)[ Packagist](https://packagist.org/packages/passionator/string-operations)[ Docs](https://github.com/spatie/string-operations)[ GitHub Sponsors](https://github.com/spatie)[ RSS](/packages/passionator-string-operations/feed)WikiDiscussions main Synced 1mo ago

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

String Operations in PHP
========================

[](#string-operations-in-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a86865070eb1ac51a80a5fdf78726eabd27c23267ff6d665be1c390727df3a40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f737472696e672d726576657273652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/string-reverse)[![Tests](https://camo.githubusercontent.com/f062e1683bfba4c55c4701d92c0677f6a36886b014cfb27de6275aba297cc5bb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7370617469652f737472696e672d726576657273652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/spatie/string-reverse/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/978390efdadec260e82115f73a1d0c45ddc4119066fd6aea065f722b8bc1cd82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f737472696e672d726576657273652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/string-reverse)

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require passionator/string-operations
```

Usage
-----

[](#usage)

```
use Passionator\StringOperations\StringClass;

$string = StringClass::string("Test")->reverse();
echo $string;

$string = StringClass::string("Test")->append(" is successful!");
echo $string;
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Passionmuse2303](https://github.com/passionate-laravel-dev)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance62

Regular maintenance activity

Popularity3

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.6% 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 ~0 days

Total

2

Last Release

441d ago

Major Versions

1.0.0 → 2.0.02025-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/3baaa1c88923fea3189a0c39abccebb691ebbf26374aa995625f037785fa19dd?d=identicon)[LaravelPassionator](/maintainers/LaravelPassionator)

![](https://www.gravatar.com/avatar/bff2b60a4ae712167002e97a440fe017cd6f1b4ebb4e4051c7b8bd39a97111b0?d=identicon)[passionate-laravel-dev](/maintainers/passionate-laravel-dev)

---

Top Contributors

[![seniordev0817](https://avatars.githubusercontent.com/u/127023594?v=4)](https://github.com/seniordev0817 "seniordev0817 (10 commits)")[![rosmarflores](https://avatars.githubusercontent.com/u/190306264?v=4)](https://github.com/rosmarflores "rosmarflores (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

appendoperationsphpreversestringpassionatorstring-operations

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

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

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

PHPackages © 2026

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