PHPackages                             kellerkinder/fancy-sorter - 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. kellerkinder/fancy-sorter

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

kellerkinder/fancy-sorter
=========================

Fancy Sorter is a small library that offers several sorters for specific use classes often known and seen in ecommerce projects that offer clothing products.

0.2.1(10y ago)22.1kproprietaryPHPPHP &gt;=5.5.0

Since Jun 5Pushed 10y ago6 watchersCompare

[ Source](https://github.com/kellerkinderDE/fancy-sorter)[ Packagist](https://packagist.org/packages/kellerkinder/fancy-sorter)[ RSS](/packages/kellerkinder-fancy-sorter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Fancy Sorter
============

[](#fancy-sorter)

Fancy Sorter is a small library that offers several sorters for specific use classes often known and seen in ecommerce projects that offer clothing products.

That is, sorting sizes like:

- jeans (32/30, 34W/30L, …)
- clothing (XS, S, M, L, XL, XXL, 3XL, …)
- numeric (32, 34, 36, 50, 52, 96, 128, …)

As well as the possibilty to chained needed sorters together, so the best fit is automatically used.

Installing Fancy Sorter
-----------------------

[](#installing-fancy-sorter)

The recommended way to install Fancy Sorter is through [Composer](http://getcomposer.org/):

```
composer require kellerkinder/fancy-sorter

```

Using Fancy Sorter
------------------

[](#using-fancy-sorter)

```
$sorter = new JeansSizeSorter();
$result = $sorter->sort(['30/32', '32 / 34', '32/ 30', '30W/30L', '32W / 32L']);
// => ['30W/30L', '30/32', '32/ 30', '32W / 32L', '32 / 34']
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

Total

3

Last Release

3995d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6e866fb588d41945b7058c99238e3d55736f4c46b70bb59983598ac10cdcbc9?d=identicon)[smioduszewski](/maintainers/smioduszewski)

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kellerkinder-fancy-sorter/health.svg)

```
[![Health](https://phpackages.com/badges/kellerkinder-fancy-sorter/health.svg)](https://phpackages.com/packages/kellerkinder-fancy-sorter)
```

###  Alternatives

[rangerz/magento2-module-quicklink

Faster subsequent page-loads by prefetching in-viewport links during idle time.

3410.0k](/packages/rangerz-magento2-module-quicklink)[aozisik/php-turkce

Turkish language friendly string manipulation functions for PHP.

292.1k](/packages/aozisik-php-turkce)[zenstruck/class-metadata

Add human readable class aliases &amp; metadata with efficient lookups.

142.8k5](/packages/zenstruck-class-metadata)

PHPackages © 2026

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