Registry / testing / doctrine-doctrine-fixtures-bundle

doctrine-doctrine-fixtures-bundle

JSON →
library4.3.1phppackagistunverified

Symfony DoctrineFixturesBundle integrates Doctrine Fixtures into Symfony for loading test data.

composer require doctrine/doctrine-fixtures-bundle
INSTALL
IMPORT
SIG · DOCTRINE-DOCTRINE-
D
doctrine-doctrine-fixtures-bundle
testingphpv4.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Fixture
use Doctrine\Bundle\FixturesBundle\Fixture;

Create a fixture class to load sample data into the database.

<?php namespace App\DataFixtures; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Persistence\ObjectManager; class AppFixtures extends Fixture { public function load(ObjectManager $manager): void { // create objects $manager->flush(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.3.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
doctrine-doctrine-fixtures-bundle — pip install doctrine-doctrine-fixtures-bundle · libregistry