PHPackages                             drboboev/sortwords - 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. drboboev/sortwords

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

drboboev/sortwords
==================

Sorting words in string

00PHP

Since Nov 29Pushed 7y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

### SORTING WORDS

[](#sorting-words)

Requirements:

- PHP 7.1 or higher

Installation:

```
composer require drboboev/sortwords

```

Usage:

Add class to your code:

```
use drboboev\SortWords\SortWords;
```

Create object:

```
$sortWords = new SortWords();
```

Run function sort() with $str as argument:

```
$string = $sortWords->sort($str);
```

sort() function returns string with sorted words.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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/bba840fb1274114496c37e39cfd422250804cd901b11bb69d4a64ba63dc01cbf?d=identicon)[drboboev](/maintainers/drboboev)

---

Top Contributors

[![drboboev](https://avatars.githubusercontent.com/u/30856780?v=4)](https://github.com/drboboev "drboboev (9 commits)")

### Embed Badge

![Health badge](/badges/drboboev-sortwords/health.svg)

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

PHPackages © 2026

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