PHPackages                             glider88/fixturization - 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. [Database &amp; ORM](/categories/database)
4. /
5. glider88/fixturization

ActiveLibrary[Database &amp; ORM](/categories/database)

glider88/fixturization
======================

Create fixtures from database

1.0.0(6mo ago)00MITPHPPHP ^8.2

Since Dec 7Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Glider88/fixturization)[ Packagist](https://packagist.org/packages/glider88/fixturization)[ RSS](/packages/glider88-fixturization/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (5)Used By (0)

Fixturization
=============

[](#fixturization)

Select the start of the table crawl, after which the spider will follow the table refs and collect data. Determine which columns are needed, which filters to use, how many rows select from the table, and how to transform the data after fetching. This data can be used for fixtures or tests.

### Installation:

[](#installation)

```
composer require glider88/fixturization
```

### Learn by example:

[](#learn-by-example)

See how you can use library in `examples/`

Get data:

```
wget https://raw.githubusercontent.com/devrimgunduz/pagila/refs/heads/master/pagila-schema.sql -P .docker/postgres
```

```
wget https://raw.githubusercontent.com/devrimgunduz/pagila/refs/heads/master/pagila-data.sql -P .docker/postgres
```

Fix owner:

```
sed -i -e 's/OWNER TO postgres/OWNER TO fixturization/g' .docker/postgres/pagila-schema.sql
```

Start docker:

```
bin/re  # first time
```

```
bin/up  # next times
```

Generate schema from database:

```
bin/sh php examples/schema.php psql
```

Additional description of the schema that is not in the database: `examples/var/schema/manual.yaml`

Generate dump (support sql and yaml formats):

```
bin/sh php examples/crawler.php sql yaml
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance81

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

4

Last Release

33d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1173406?v=4)[Pavel Sakharov](/maintainers/Glider88)[@Glider88](https://github.com/Glider88)

---

Top Contributors

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

---

Tags

fixtures

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/glider88-fixturization/health.svg)

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

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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