Open fabpico opened 1 year ago
The security
is a flex alias. If you have the Flex Composer plugin installed, it will install symfony/security-bundle
(see https://github.com/symfony/recipes/blob/flex/main/RECIPES.md for a list of Flex aliases).
@weaverryan shouldn't MakerBundle use full package names, like we do in the docs?
@wouterj Yeah just found out, assumed a relation to doctrine and looked into https://github.com/doctrine/DoctrineBundle/blob/2.8.x/composer.json, there is a symfony/security-bundle
dependency. After installing symfony/security-bundle
directly, the command is able to run.
I don't use Flex. Can the maker bundle maybe just be defined with the symfony/security-bundle
dependency?
Yes, we had another PR recently for another part of maker bundle to switch from the alias to the full package name. The user is probably copying the composer require
command, so there's not a huge benefit to showing the alias (and it confuses some people).
PR welcome to change to the full package name!
I want to use
php bin/console make:user
as in https://symfony.com/doc/current/security.html#the-user.My composer.json:
When I make
I recieve
When I do
I receive
When I do
I receive
And I can still not run
php bin/console make:user
.When I do
I receive
Now what should I install for being able to use
php bin/console make:user
?symfony/security-core
, still complainingdoctrine/orm
, still complaining