1

I am trying to add a bundle manually without composer but with out any success.

Error

The autoloader expected class "Destination\Content\ExcelBundle\LiuggioExcelBundle" to be defined in file "/src/\Destination\Content\ExcelBundle\LiuggioExcelBundle.php"

My folder structure looks like the following.

src\
   Destination\
      Content\
         ExcelBundle\LiuggioExcelBundle.php

My AppKernel

$bundles = array(
            ....
            new Destination\Content\ExcelBundle\LiuggioExcelBundle(),
            ....
        );

Any ideas?

1 Answer 1

1

According to the github : https://github.com/liuggio/ExcelBundle/blob/master/LiuggioExcelBundle.php#L3, the namespace is Liuggio\ExcelBundle but it should be Destination\Content\ExcelBundle.

Have you edited this namespace ?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.