webonaute / doctrine-fixtures-generator-bundle
Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.
Installs: 177 370
Dependents: 0
Suggesters: 0
Security: 0
Stars: 63
Watchers: 5
Forks: 47
Open Issues: 9
Type:symfony-bundle
Requires
- php: >=7.0
- doctrine/doctrine-bundle: >=1.2
- doctrine/doctrine-fixtures-bundle: >=2.2
- doctrine/orm: >=2.2
- symfony/framework-bundle: ~3.4|~4
Requires (Dev)
- phpstan/phpstan: ^0.9.2
- phpunit/phpunit: ^6.0
- symfony/phpunit-bridge: dev-master
This package is auto-updated.
Last update: 2024-10-26 03:16:58 UTC
README
Generate Fixture from your existing data in your database. You can specify the Entity name and the IDs you want to import in your fixture.
Features include:
- Create fixture from existing entity data.
- Option to specify the exact IDs to import in your fixture.
- Option to specify a ranges of ids to import in your fixture. (Thanks to andreyserdjuk)
- Manually set load order for a fixture from command line. (Thanks to ioniks)
- Allow to specify in the command line the specific load order we want for the generated fixture.
- Snapshot : Create a full sets of fixtures from your current database.
- Automatically set the load order in the snapshot context. (NEW Now support many to many relationship.)
- Generate fixture reference when any other entity is link to this entity in the snapshot context.
Version note
- For symfony 2.3 and 2.4, use the version v1.0.*
- For symfony 2.5 and to 3.4, use the version v1.3.*
- For symfony 4.x and over, use version v2.x or 2.0-dev (master) .
Documentation
The bulk of the documentation is stored in the Resources/doc/index.md
file in this bundle:
Read the Documentation for master
Installation
All the installation instructions are located in the documentation.
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE
About
DoctrineFixturesGeneratorBundle is a [Webonaute] initiative. See also the list of contributors.
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.
Help development
If you like this bundle, you can donate bitcoin to this address : 13zeEE6qdWJfSpNWwtWUuMoKTYGWU6jNwc
Thank you!