Download the PHP package diegograssato/doctrine-odm-datafixture without Composer
On this page you can find all versions of the php package diegograssato/doctrine-odm-datafixture. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diegograssato/doctrine-odm-datafixture
More information about diegograssato/doctrine-odm-datafixture
Files in diegograssato/doctrine-odm-datafixture
Package doctrine-odm-datafixture
Short Description Module to generate fixture with Doctrine ODM
License MIT
Homepage https://diegograssato.github.io/doctrine-odm-datafixture
Informations about the package doctrine-odm-datafixture
DoctrineMongoODMDatafixture
Module to generate fixture with Doctrine ODM
Instalation
To install is quite simple, add the composer.json:
Next step is to update the composer
Then add DoctrineMongoODMDatafixture to your config/application.config.php.
In module.config.php you should inform the folder where your fixtures, for example:
or group configurator
To rotate the fixture use the terminal command:
The odm:fixture:load command loads data fixtures from your bundles:
You can also optionally specify the path to fixtures with the --fixtures option:
If you want to append the fixtures instead of flushing the database first you can use the --append option:
You can also optionally specify the group configuration:
You can also optionally list the fixtures:
Finish!
All versions of doctrine-odm-datafixture with dependencies
doctrine/doctrine-mongo-odm-module Version ^1.0
doctrine/data-fixtures Version ^1.2
zendframework/zend-servicemanager Version ^2.7.6 || ^3.1
zendframework/zend-stdlib Version ^2.7.7 || ^3.0.1