Cookbook

Minimum installation of phpdocx

The whole of the files of the phpdocx Basic license requires 14MB of hard disk space. But maybe you wish to minimize the necessary disk space to run phpdocx. In that case, you can delete the plugins and examples folders, and the files check.php, Readme.txt and LICENSE files from the root folder. After all that cleaning, the library will just require 6.5MB.

Advanced and Premium licenses only

In addition to the files and folders above mentioned, if you run the conversion plugin based on LibreOffice instead of the OpenOffice one, it is possible to erase lib/OdfConverter and lib/openoffice folders too.

This is how the folder tree looks after removing all the non essential content in a Basic license.

  • classes
  • config
  • excel
    • docProps
    • rels
    • xl
      • printerSettings
      • _rels
      • tables
      • theme
      • worksheets
        • _rels
  • lib
  • templates
    • xmls
  • xsl