PHPackages                             u1tr0n/fixturepref - 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. u1tr0n/fixturepref

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

u1tr0n/fixturepref
==================

Helper for manipulating with fixtures pref's

0.2.2(2y ago)166MITPHPPHP ^8.1 || ^8.2

Since Jun 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/u1tr0n/FixturePref)[ Packagist](https://packagist.org/packages/u1tr0n/fixturepref)[ RSS](/packages/u1tr0n-fixturepref/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

PHP Fixture Pref's
==================

[](#php-fixture-prefs)

[![Support Ukraine Badge](https://camo.githubusercontent.com/dd588b74eef18b23137f6bcff6cbc3a6e29ae26092e2757b9fa0eff5e54569de/68747470733a2f2f6269742e6c792f737570706f72742d756b7261696e652d6e6f77)](https://github.com/support-ukraine/support-ukraine)

This library helps to organize dependencies between different fixtures in your project.

for example, you need to create 10 users

- each user must make 10 posts in post-feed
- each user must make 25 comments under post
- each user must like 100 comments
- each user must report 10 posts
- each user must report 100 comments

Installation
------------

[](#installation)

```
composer require --dev u1tr0n/fixturepref

```

Examples
--------

[](#examples)

- [General use](./doc/en/general_use.md)
- [implement own IdGenerator](./doc/en/implement_own_id_generator.md)
- [implement own PrefKey](./doc/en/implement_own_pref_key.md)

### TODO

[](#todo)

- translate documentation to other languages
- add examples

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

4

Last Release

1000d ago

PHP version history (2 changes)0.1.0PHP ~8.1.0 || ~8.2.0

0.1.3PHP ^8.1 || ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/62451bbda5d9715e31a989d46ee5bec18d9a4a06784132367981f56f7d48632a?d=identicon)[u1tr0n](/maintainers/u1tr0n)

---

Top Contributors

[![u1tr0n](https://avatars.githubusercontent.com/u/128055119?v=4)](https://github.com/u1tr0n "u1tr0n (16 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/u1tr0n-fixturepref/health.svg)

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

PHPackages © 2026

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