Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

PHPExcel and Silverstripe autoload

Go to End

3 Posts   1923 Views


Community Member, 9 Posts

10 September 2010 at 8:30am

Hi everyone,

We are trying to develop an excel export for our ModelAdmin application, and we are trying to use PHPExcel. The problem is that when we do an include of the library, the autoloader of PHPExcel has conflicts with the autoloader of Silverstripe.

Has anyone a solution for this problem (other than include manually every class in PHPExcel)?

Thank you very much.




Community Member, 344 Posts

11 September 2010 at 2:49am

Edited: 11/09/2010 3:05am

Dunno what the autoloader of PHPExcel does, but you can create a empty file with the name "_manifest_exclude" in the PHPExcel folder to prevent the autoloading from Silverstripe. I did this for mPDF and pChart and it works like a charm for me.


Community Member, 21 Posts

8 September 2011 at 10:01am

Simkin, did you ever find a solution to this? I'd be curious to know... I'm running into some issues with autoloading conflicts as well.