Skip to content

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.

Notifications You must be signed in to change notification settings

Webonaute/DoctrineFixturesGeneratorBundle

Repository files navigation

DoctrineFixturesGeneratorBundle

Latest Stable Version Total Downloads Latest Unstable Version License

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!

About

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages