PHPackages                             fomvasss/static-lists - 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. fomvasss/static-lists

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

fomvasss/static-lists
=====================

Deterministic list builder for arrays/iterables (only, except, added, unique, sort).

1.1.0(4mo ago)1353↓50%1MITPHPPHP ^8.1

Since Oct 19Pushed 4mo agoCompare

[ Source](https://github.com/fomvasss/static-lists)[ Packagist](https://packagist.org/packages/fomvasss/static-lists)[ RSS](/packages/fomvasss-static-lists/feed)WikiDiscussions master Synced 1mo ago

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

fomvasss/static-lists
=====================

[](#fomvasssstatic-lists)

[![License](https://camo.githubusercontent.com/b70868ff3f1472e20fd96014f656d12401aab15dc3694227ce200eee11a5503b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666f6d76617373732f7374617469632d6c697374732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/fomvasss/static-lists)[![Build Status](https://camo.githubusercontent.com/def197c979898547b752762de4982db8170f71686fdec85b081f10771de858f0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f666f6d76617373732f7374617469632d6c697374732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/fomvasss/static-lists)[![Latest Stable Version](https://camo.githubusercontent.com/708dbf88a9dbfa16fd77a461a7f9d55e9e5db2482d4ab08b3c9f326f59b158f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f6d76617373732f7374617469632d6c697374732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/fomvasss/static-lists)[![Total Downloads](https://camo.githubusercontent.com/63c1fd88078491ca965a6a1f6d8baa3e3578a30c57a94c39f1682564cba8e292/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666f6d76617373732f7374617469632d6c697374732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/fomvasss/static-lists)

Deterministic list builder for arrays/iterables.

```
use Fomvasss\StaticLists\StaticListBuilder;

$records = [
    ['value' => 'new', 'label' => 'New', 'priority' => 30],
    ['value' => 'paid', 'label' => 'Paid', 'priority' => 10],
    ['value' => 'done', 'label' => 'Done', 'priority' => 40],
];

$map = StaticListBuilder::build($records, 'label', 'value', [
  'only' => ['paid','new'],
  'sort' => 'priority',
  'order'=> 'asc',
]);
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance78

Regular maintenance activity

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Total

3

Last Release

121d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f99b460639e7d6871597882226b1e0d9e3055992eac8b22bfcd4f90fbdac95c?d=identicon)[fomvasss](/maintainers/fomvasss)

---

Top Contributors

[![fomvasss](https://avatars.githubusercontent.com/u/19834478?v=4)](https://github.com/fomvasss "fomvasss (1 commits)")

---

Tags

phparrayenumbuilderfiltercollectionliststatic lists

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fomvasss-static-lists/health.svg)

```
[![Health](https://phpackages.com/badges/fomvasss-static-lists/health.svg)](https://phpackages.com/packages/fomvasss-static-lists)
```

###  Alternatives

[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)[graze/sort

A collection of array sorting transforms and functions

12289.6k2](/packages/graze-sort)[graze/data-structure

Data collections and containers

12287.4k8](/packages/graze-data-structure)[lazerg/laravel-enum-pro

A powerful PHP enum extension with collection support, random selection, and magic static calls

4319.0k](/packages/lazerg-laravel-enum-pro)

PHPackages © 2026

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