Reputation: 55
I tried installing annotations for symfony. But I can not install it.
composer require annotations
I tried writing "composer require annotations" -> https://save.jb-dev.eu/img/NWgZ7LPOv0.png
Does anyone have any idea what the problem might be?
Upvotes: 1
Views: 5775
Reputation: 41
First, try the following command,
composer require sensio/framework-extra-bundle
Then run this command,
composer require annotation
Then it will work perfect.
Upvotes: 3
Reputation: 1630
if you use Symfony flex
composer require annotations
if you don't use Symfony Flex, add it to your composer.json file
or you can use this command
composer require sensio/framework-extra-bundle
Upvotes: 3