doctrine / DoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library
MIT License
2.46k stars 202 forks source link

Documenting how fixtures can be moved from /src/DataFixures to a custom directory #374

Closed sebastianstucke87 closed 1 year ago

sebastianstucke87 commented 2 years ago

Doctrine fixtures can be loaded from any directory/file (https://www.doctrine-project.org/projects/doctrine-data-fixtures/en/latest/how-to/loading-fixtures.html#loading-fixtures).

But it is not clear on how to do this with the DoctrineBundle:

  1. "How to Override Symfony's default Directory Structure"

  2. "How to Override any Part of a Bundle"

  3. "DoctrineFixturesBundle" (this repository)

derrabus commented 2 years ago

Thank you for your PR. Please try to find a PR title that describes and summarizes what the PR is doing.

greg0ire commented 1 year ago

Thanks @sebastianstucke87 !