PHPackages                             amiriun/strang - 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. amiriun/strang

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

amiriun/strang
==============

Strang is the PHP package include string helpers

34PHPCI failing

Since Jun 20Pushed 6y agoCompare

[ Source](https://github.com/amiriun/strang)[ Packagist](https://packagist.org/packages/amiriun/strang)[ RSS](/packages/amiriun-strang/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP string helpers
==================

[](#php-string-helpers)

Strang is the PHP package include string helpers

### Requirements:

[](#requirements)

- PHP &gt;= 5.6

### INSTALATION:

[](#instalation)

`composer require amiriun/strang`

### HELPERS:

[](#helpers)

Create random string with specific length and characters:

```
use Amiriun\Strang;

$myRandomString = Strang::make()->random(80,'abcdefg');

// return : HakzxvBsyBxyQkPmuvjtGxtHRTMDhOXPeR9CGPMnTtt3FDFiLXSE2PCsR78tl7hIwVD5HUdPgaIe03qB
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e03e58f507b4ebb95c34e6e52b1d4f50ec625069f6e1d48d2144e1004848ef5?d=identicon)[amircup2006](/maintainers/amircup2006)

---

Top Contributors

[![amiriun](https://avatars.githubusercontent.com/u/5228893?v=4)](https://github.com/amiriun "amiriun (12 commits)")

### Embed Badge

![Health badge](/badges/amiriun-strang/health.svg)

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

###  Alternatives

[serafim/ffi-sdl

SDL FFI bindings for the PHP language

314.6k3](/packages/serafim-ffi-sdl)

PHPackages © 2026

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