# doctrine/data-fixtures

Doctrine2 ORM Data Fixtures Extensions

Repository: https://github.com/doctrine/data-fixtures
Canonical: https://ross.abutalabs.com/products/data-fixtures
Homepage: http://www.doctrine-project.org
Language: PHP
License: MIT
License Family: permissive
Topics: hacktoberfest
Last push: 2026-08-25T22:55:31+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 65, longevity 100
- inputs: {"age_days": 5826, "days_push": 8, "days_rel": 154, "gap_med": 35.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2851, forks 231 (observed 2026-08-28T04:07:25.679901+00:00)

## What it is
Doctrine Data Fixtures is a PHP library for managing and loading data fixtures into databases via the Doctrine ORM or ODM. It provides a fixture loader and object reference tracking to populate databases with test or seed data.

## Use cases
- load seed data into a doctrine database
- populate test databases with fixtures for phpunit
- create reusable fixture classes for doctrine orm
- share references between fixture objects when loading data
- reset and reload database data between tests

## When to choose
- you use Doctrine ORM or MongoDB ODM and need fixture loading
- you want ordered fixture loading with shared object references
- you need deterministic test data for a PHP application

## When to avoid
- you use a different ORM or raw SQL migrations for seeding
- you need production-scale data generation rather than fixture loading
- your project does not use PHP or Composer

## Facets
- artifact type: library
- maturity: stable
- function: orm, database, data-generation, testing
- domain: databases, developer-tools, testing
- platform: php, cli
- tags: doctrine, fixtures, data-fixtures, symfony, odm, test-data, php

## Member repositories
- doctrine/data-fixtures (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:25.679901+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:36:53.746016+00:00, confidence not recorded.
  - readme: https://github.com/doctrine/data-fixtures (fetched 2026-08-28T04:07:25.679901+00:00, sha f479b2123ae2)
  - homepage: http://www.doctrine-project.org (fetched 2026-08-29T09:52:32.339659+00:00, sha 6d7d6496fc0f)
  - site_page: https://www.doctrine-project.org/projects/doctrine-orm/en/current/tutorials/getting-started.html (fetched 2026-08-29T09:52:32.349928+00:00, sha 0cf13450132c)
  - site_page: https://www.doctrine-project.org/2024/10/14/doctrine-core-team-meetup-2024.html (fetched 2026-08-29T09:52:32.354347+00:00, sha 17c289011ed0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
