PEAR dependency

Topics: Developer Forum
Nov 21, 2012 at 5:47 PM

Dear developers,


is there a way to use the Excel 5 generator without installing PEAR? I would like to use it on a page that will be hosted by others.


Thank you

Nov 21, 2012 at 6:23 PM

I would like to ask the above wuestion for the Excel 2007 format too. It's not mentioned that it's also dependent on PEAR, but the Autoloader tries to locate it anyways



Nov 21, 2012 at 10:59 PM

There is absolutely no dependency on PEAR whatsoever.

The only dependencies are listed on the front-page of the website under requirements:

  • PHP version 5.2.0 or higher
  • PHP extension php_zip enabled (for working with Excel2007, Gnumeric and Open/Libre Office files)
  • PHP extension php_xml enabled
  • PHP extension php_gd2 enabled (if not compiled in)

    A PDF rendering library such as (domPDF, tcPDF or mPDF) and jpgraph are optional if you need to write PDF or render charts as image files (jpg) respectively.


    The autoloader doesn't do anything with PEAR at all... it doesn't try to locate it, it isn't dependent on it, it never uses the word PEAR anywhere in the code