Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/symfony/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Symfony添加包_Php_Symfony - Fatal编程技术网

Php Symfony添加包

Php Symfony添加包,php,symfony,Php,Symfony,我正在尝试在没有composer的情况下手动添加捆绑包,但没有成功 错误 自动加载器应为类 要在中定义的“Destination\Content\ExcelBundle\LiuggioExcelBundle” 文件“/src/\Destination\Content\ExcelBundle\LiuggioExcelBundle.php” 我的文件夹结构如下所示 src\ Destination\ Content\ ExcelBundle\LiuggioExce

我正在尝试在没有composer的情况下手动添加捆绑包,但没有成功

错误

自动加载器应为类 要在中定义的“Destination\Content\ExcelBundle\LiuggioExcelBundle” 文件“/src/\Destination\Content\ExcelBundle\LiuggioExcelBundle.php”

我的文件夹结构如下所示

src\
   Destination\
      Content\
         ExcelBundle\LiuggioExcelBundle.php
我的AppKernel

$bundles = array(
            ....
            new Destination\Content\ExcelBundle\LiuggioExcelBundle(),
            ....
        );
有什么想法吗?

根据github:,名称空间是
Liuggio\ExcelBundle
,但它应该是
Destination\Content\ExcelBundle

您编辑过这个名称空间吗