简体   繁体   中英

Add doctrine fixture in composer.json

How can I add two doctrine ficture to composer.json? I think I have to include in:

"require": {
}

I have my fixture in src/AppBundle/DataFixture/ORM/

Composer is a dependency management tool, not a build automation tool.

You can use a task runner like Phing or Robo and have it run composer install then your fixtures command or any other command you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM