PHP Snippet 1:
"require-dev": {
...
"symfony/maker-bundle": "^1.0",
...
}
PHP Snippet 2:
composer require doctrine maker
PHP Snippet 3:
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
// [...]
$bundles[] = new \Symfony\Bundle\MakerBundle\MakerBundle();
}
PHP Snippet 4:
composer remove maker
composer require maker --dev
PHP Snippet 5:
php bin/console make:entity Product
PHP Snippet 6:
php bin/console --env dev
php bin/console make:entity Product --env dev
PHP Snippet 7:
APP_ENV=dev
PHP Snippet 8:
composer require symfony/maker-bundle --dev