Search code examples
phpsymfonydoctrinefixtures

There are no commands defined in the "make:fixtures" namespace


After using this command:

php bin/console make:fixtures:load

I receive this error:

There are no commands defined in the "make:fixtures" namespace.


Solution

  • The command to load the fixtures is:

    doctrine:fixtures:load
    

    To make a fixture, however, is:

    make:fixture