zflabs / odm-fixture
Module to generate fixture with Doctrine ODM
0.1.2
2015-06-21 21:07 UTC
Requires
- php: >=5.4
- doctrine/data-fixtures: dev-master
- doctrine/doctrine-mongo-odm-module: ^0.9.0@dev
- zendframework/zendframework: ~2.4
Requires (Dev)
- phpunit/phpunit: dev-master
Suggests
- zendframework/zend-developer-tools: zend-developer-tools if you want to profile operations executed by the ORM during development
This package is not auto-updated.
Last update: 2025-02-01 18:37:05 UTC
README
Module to generate fixture with Doctrine ODM
Installation
To install is quite simple, add the composer.json:
"zflabs/odm-fixture", "dev-master"
Next step is to update the composer
php composer.phar self-update
php composer.phar install
In module.config.php you should inform the folder where your fixtures, for example:
'zflabs-odm-fixture' => array(
__NAMESPACE__.'_fixture' => __DIR__ . '/../src/'.__NAMESPACE__.'/Fixture',
),
To rotate the fixture use the terminal command:
vendor/bin/ZFLabs odm-fixture load