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(5mo ago)00MITPHPPHP ^8.2

Since Dec 7Pushed 5mo ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (2)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

33

—

LowBetter than 75% of packages

Maintenance72

Regular maintenance activity

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

155d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7103e36446ad2fc58a3da730afd7d0c5a0b89b01a231dbd537832030bd8cadd7?d=identicon)[Glider88](/maintainers/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

[willdurand/faker-bundle

Put the awesome Faker lib into the DIC and populate your database with fake data.

2751.2M14](/packages/willdurand-faker-bundle)[h4cc/alice-fixtures-bundle

Symfony2 Bundle for loading fixture data with the Alice library.

76314.2k7](/packages/h4cc-alice-fixtures-bundle)[nettrine/fixtures

Doctrine Fixtures for Nette Framework

181.2M8](/packages/nettrine-fixtures)[orbitale/array-fixture

A Doctrine Data Fixture service based on PHP arrays.

1636.7k](/packages/orbitale-array-fixture)[linkorb/haigha

Alice fixtures for database tables

2411.2k3](/packages/linkorb-haigha)

PHPackages © 2026

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