Doctrine 如何为bin/console启用条令:模式名称空间?

Doctrine 如何为bin/console启用条令:模式名称空间?,doctrine,pimcore,coreshop,Doctrine,Pimcore,Coreshop,我正在尝试将此捆绑包添加到我的项目中: 我能够添加捆绑包并在内核中激活它,但是当我尝试“php bin/console原则:schema:update--force”部分时,我得到一个错误: There are no commands defined in the "doctrine:schema" namespace. Did you mean one of these? doctrine doctrine:cache doctrine:databas

我正在尝试将此捆绑包添加到我的项目中:

我能够添加捆绑包并在内核中激活它,但是当我尝试“php bin/console原则:schema:update--force”部分时,我得到一个错误:

There are no commands defined in the "doctrine:schema" namespace.

  Did you mean one of these?
      doctrine
      doctrine:cache
      doctrine:database
      doctrine:generate
      doctrine:query

我曾尝试安装各种学说捆绑包,我认为会包括它,但它似乎没有什么不同。我运行的是Symfony 4.3。

Pimcore当前未附带所需的软件包。因此,您必须手动要求它们:

composer require symfony/maker-bundle symfony/orm-pack
您必须将以下内容添加到
config.yml

doctrine: 
    orm: 
        default_entity_manager: default

验证是否已安装条令\Bundle\DoctrineBundle\DoctrineBundle。不知道如何在不获得条令:模式的情况下使用条令:数据库命令。Symfony版本?也许开始一个新的项目。可能重复的,这不是关于SymfonyFair点,我调整到更具体。在我发布之前,我偶然看到另一篇文章引用了bin\console,但由于它是一个Pimcore项目,所以有点不同。您使用的是哪个Pimcore版本?尝试
composer show条令/orm