PHPackages                             muhamadrezaar/stringer - 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. muhamadrezaar/stringer

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

muhamadrezaar/stringer
======================

Manipulation String Library

0.0.2(7y ago)115MITPHP

Since Jul 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/julles/stringer)[ Packagist](https://packagist.org/packages/muhamadrezaar/stringer)[ RSS](/packages/muhamadrezaar-stringer/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

Stringer
========

[](#stringer)

[![Total Downloads](https://camo.githubusercontent.com/f395a1e30eaa4c84974c6ee35a5503c95b052acf78f62be1e787c3d39a5328e4/68747470733a2f2f706f7365722e707567782e6f72672f6d7568616d616472657a6161722f737472696e6765722f642f746f74616c2e737667)](https://poser.pugx.org/muhamadrezaar/stringer/d/total.svg)[![License](https://camo.githubusercontent.com/e28f0a88ca6ca2fece4d7a097091492559fcf3b6a863b74853c5de20ca986e59/68747470733a2f2f706f7365722e707567782e6f72672f6d7568616d616472657a6161722f737472696e6765722f6c6963656e73652e737667)](https://poser.pugx.org/muhamadrezaar/stringer/license.svg)[![License](https://camo.githubusercontent.com/3b0d138efa84529c13eb45831d3ab8dd191b8512cb948c169595627196231105/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6a756c6c65732f737472696e6765722e7376673f7374796c653d666c61742d737175617265)](https://github.com/julles/stringer/releases)[![StyleCi](https://camo.githubusercontent.com/f2d324ce679f88fe9a9ea30c81948742726e87c9df163e9d4b30ef2f4e33fb82/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134313735393037302f736869656c64)](https://github.styleci.io/repos/141759070/shield)

### Introduction

[](#introduction)

Stringer is stand alone PHP package for string manipulation with an expresive syntax.

### Instalation

[](#instalation)

This package required composer

```
composer require muhamadrezaar/stringer
```

then in your file php

```
 include "vendor/autoload.php";

```

### Example

[](#example)

Here is the basic usage and some examples methods:

```
reverse()->display(); // return "emosewa si php"

$str->substring(0,1)->display(); // return "r"

?>
```

Custom Method

```
custom(function($string){
		// your own manipulation syntax
	})
	->display()
?>
```

Using chaining method

```
$str = stringer('azer')
	->reverse()
	->replace("a","i")
	->repeat(2," ")
	->display(); // return "rezi rezi"
```

### Available Methods

[](#available-methods)

Methods-&gt;reverse()-&gt;substring($start = 0, $end = 0)-&gt;custom(callable $string)-&gt;camelCase($separator = " ")-&gt;appendFirst($first="")-&gt;appendLast($last="")-&gt;repeat($loop=1,$separator="")-&gt;upperFirst()-&gt;lowerFirst()-&gt;upperLast()-&gt;lowerLast()-&gt;replace($search,$replace)-&gt;shuffle()-&gt;reverse()### License

[](#license)

Development will continue fork this repo and pull request

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

2850d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a1c0f6db7496973eb4388a341803bf666baefb0046a8bd64fdbdea55b4bc9f3?d=identicon)[julles](/maintainers/julles)

---

Top Contributors

[![julles](https://avatars.githubusercontent.com/u/8998059?v=4)](https://github.com/julles "julles (10 commits)")

---

Tags

phpphp5php7stringstring-manipulationstringer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/muhamadrezaar-stringer/health.svg)

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

PHPackages © 2026

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