Hi I use PHPexcel but not by a symfony plugin which mess up somethings but by putting whole library to myproject/lib.
So there is: lib/PHPExcel folder with some other libraries and lib/PHPExcel.php with main class. It should be autoloaded automatically after clearing cache. But it isn't. Each time I use it (in action or view) I have to extend include path: set_include_path(get_include_path() . PATH_SEPARATOR . '../lib/'); Unfortunatelly if I delete this it doesn't work. In main PHPExcel class files are included like this: /** PHPExcel_Cell */ require_once 'PHPExcel/Cell.php'; /** PHPExcel_DocumentProperties */ require_once 'PHPExcel/DocumentProperties.php'; /** PHPExcel_DocumentSecurity */ require_once 'PHPExcel/DocumentSecurity.php'; /** PHPExcel_Worksheet */ require_once 'PHPExcel/Worksheet.php'; /** PHPExcel_Shared_ZipStreamWrapper */ require_once 'PHPExcel/Shared/ZipStreamWrapper.php'; /** PHPExcel_NamedRange */ require_once 'PHPExcel/NamedRange.php'; /** PHPExcel_WorksheetIterator */ require_once 'PHPExcel/WorksheetIterator.php'; The same way with other classes that are in PHPExcel directory. Any guess how to add it in symfony config? Maybe in autoload.yml, but I don't knowwhere to put it and how to write rules :( http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Configuration-Files#chapter_19_extending_the_autoloading_feature --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---