How to install DoctrineFixturesBundle offline

后端 未结 1 1943
慢半拍i
慢半拍i 2021-01-20 15:41

First of all, i can\'t use composer because of my ISP, so, i need a way to install the DoctrineFixturesBundle manually, so i started downloading it from g

相关标签:
1条回答
  • 2021-01-20 16:20

    I think you need to setup the autoloading in your composer.json file:

    {
        "autoload": {
            "psr-0": {
                "Doctrine\\Bundle\\FixturesBundle": "vendor/doctrine/doctrine-fixtures-bundle",
                "Doctrine\\Common\\DataFixtures": "vendor/doctrine/data-fixtures/lib",
            }
        }
    }
    

    Composer does this automatically on composer update, but as you didn't install the packages using composer, this wasn't done for these packages.

    0 讨论(0)
提交回复
热议问题