doctrine

doctrine/DoctrineFixturesBundle

PHP MIT Dev Tools

Symfony integration for the doctrine/data-fixtures library

2.5k stars
212 forks
active
GitHub

2.5k

Stars

212

Forks

29

Open issues

30

Contributors

4.3.1 03 Dec 2025

AI Analysis

DoctrineFixturesBundle integrates Doctrine Data Fixtures into Symfony applications, enabling programmatic loading of test data into the Doctrine ORM. It serves developers building Symfony applications who need to seed databases with fixture data for testing and development. This is a specialized integration tool for the Symfony/Doctrine ecosystem, not a general-purpose library.

Dev Tools Developer Tool Discovery value: 3/10
Documentation 8/10
Activity 9/10
Community 8/10
Code quality 5/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

symfony-bundle doctrine-orm fixtures database-seeding testing-tools
Actively maintained Well documented MIT licensed Niche/specialized use case Beginner friendly Production ready
Deep Analysis · Based on README and public signals
2d ago

Stable Symfony integration layer for programmatic fixture loading via Doctrine ORM

DoctrineFixturesBundle bridges Symfony applications with doctrine/data-fixtures, enabling developers to load test and seed data into databases through PHP code rather than manual scripts. Built for Symfony projects that use Doctrine ORM, it remains the standard integration point for fixture management in that ecosystem. Adoption appears concentrated within the Symfony/Doctrine community; usage is implicit rather than publicly tracked.

Origin

Created in 2011 as Symfony-specific packaging for Doctrine's data fixtures functionality. Evolved alongside Symfony and Doctrine as a utility layer, not a replacement for those libraries. Maintains stable API to reduce friction for Symfony developers integrating fixtures into their workflow.

Growth

Initial growth (2011–2015) tracked Symfony adoption broadly. Star count plateaued around 2,500, suggesting adoption is mature and stable rather than expanding into new categories. No spike activity in recent years indicates the problem it solves is well-understood and stable, not emerging or trending.

In production

Adoption not verified through direct metrics. Fixture loading is a standard need in Symfony/Doctrine projects, and this bundle is the canonical integration, implying widespread implicit use. However, no public case studies, adoption surveys, or enterprise deployments are documented in README.

Code analysis
Architecture

Based on README, likely a thin integration layer that wraps doctrine/data-fixtures library and exposes it as a Symfony bundle (console commands, dependency injection). Specific implementation details not verifiable from provided metadata.

Tests

Not documented in README excerpt provided.

Maintenance

Last push 2026-07-08 (current date), indicating active monitoring. No star gains in last 7 days and stable fork count (212) suggest maintenance is reactive (bug fixes, compatibility updates) rather than feature-driven. Consistent with a mature, stable utility.

Honest verdict

ADOPT IF: you are building a Symfony application with Doctrine ORM and need to load test data or seed databases programmatically; this is the standard, low-friction integration. AVOID IF: you are not using Symfony or Doctrine (use parent library directly), or if your fixture needs are non-standard (e.g., complex multi-database orchestration). MONITOR IF: you are evaluating whether fixture management belongs in your test suite vs. migrations—this bundle assumes fixtures are separate from schema migrations, which is a design choice worth validating against your workflow.

Independent dimensions

Mainstream potential

3/10

Technical importance

6/10

Adoption evidence

4/10

Risks
  • Narrow scope means limited applicability outside Symfony/Doctrine ecosystem; not portable to other frameworks.
  • Maintenance is reactive rather than feature-driven, which may delay adaptation to major Symfony version changes, though last push suggests active monitoring.
  • No evidence of large-scale adoption or case studies; if widespread issues emerge, visibility and prioritization may lag.
  • Dependency chain (Symfony + Doctrine + data-fixtures) creates potential version compatibility friction during major upgrades.
  • Documentation is external (Symfony docs) rather than in README; onboarding friction for developers unfamiliar with Symfony bundle conventions.
Prediction

Likely to remain a stable, low-velocity maintenance project. Will continue to track Symfony and Doctrine releases for compatibility but is unlikely to see significant feature expansion. Adoption will remain concentrated in Symfony/Doctrine shops and will not expand meaningfully into non-Symfony contexts.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

PHP
100%

Information

Language
PHP
License
MIT
Last updated
3d ago
Created
185mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

doctrine

doctrine/data-fixtures

Doctrine Data Fixtures Extension provides a PHP library for managing and...

2.9k PHP Dev Tools
doctrine

doctrine/DoctrineBundle

DoctrineBundle integrates the Doctrine ORM and DBAL (Database Abstraction...

4.8k PHP Web Dev
dmaicher

dmaicher/doctrine-test-bundle

This Symfony bundle optimizes test performance by wrapping database drivers to...

1.2k PHP Dev Tools
doctrine

doctrine/DoctrineMigrationsBundle

DoctrineMigrationsBundle integrates the Doctrine Migrations library into...

4.3k PHP Web Dev
stof

stof/StofDoctrineExtensionsBundle

StofDoctrineExtensionsBundle integrates DoctrineExtensions (a library of...

1.9k PHP Web Dev
vs. alternatives
doctrine/data-fixtures (parent library)

Provides raw fixture functionality; DoctrineFixturesBundle adds Symfony-specific DI and CLI integration. Not a replacement—Bundle depends on this.

doctrine/DoctrineBundle

Higher star count (4,838) reflects broader scope (core ORM integration). DoctrineFixturesBundle is narrower, specialized for fixtures. Complementary, not competitive.

dmaicher/doctrine-test-bundle

Appears to target test-specific fixture isolation and transaction handling. DoctrineFixturesBundle is general-purpose (testing and seeding). Different use case emphasis.

doctrine/DoctrineMigrationsBundle

Handles schema versioning; DoctrineFixturesBundle handles data. Separate concerns, often used together in same project.

Custom fixture loaders (non-Symfony)

Teams outside Symfony can use doctrine/data-fixtures directly. Bundle eliminates boilerplate only for Symfony users.