install.txt 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. **************************************************************************************
  2. * PHPExcel
  3. *
  4. * Copyright (c) 2006 - 2011 PHPExcel
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. *
  20. * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
  21. * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
  22. * @version ##VERSION##, ##DATE##
  23. **************************************************************************************
  24. Requirements
  25. ------------
  26. The following requirements should be met prior to using PHPExcel:
  27. * PHP version 5.2.0 or higher
  28. * PHP extension php_zip enabled *)
  29. * PHP extension php_xml enabled
  30. * PHP extension php_gd2 enabled (if not compiled in)
  31. *) php_zip is only needed by PHPExcel_Reader_Excel2007, PHPExcel_Writer_Excel2007,
  32. PHPExcel_Reader_OOCalc. In other words, if you need PHPExcel to handle .xlsx or .ods
  33. files you will need the zip extension, but otherwise not.
  34. Installation instructions
  35. -------------------------
  36. Installation is quite easy: copy the contents of the Classes folder to any location
  37. in your application required.
  38. Example:
  39. If your web root folder is /var/www/ you may want to create a subfolder called
  40. /var/www/Classes/ and copy the files into that folder so you end up with files:
  41. /var/www/Classes/PHPExcel.php
  42. /var/www/Classes/PHPExcel/Calculation.php
  43. /var/www/Classes/PHPExcel/Cell.php
  44. ...
  45. Getting started
  46. ---------------
  47. A good way to get started is to run some of the tests included in the download.
  48. Copy the "Examples" folder next to your "Classes" folder from above so you end up with:
  49. /var/www/Examples/01simple.php
  50. /var/www/Examples/02types.php
  51. ...
  52. Start running the test by pointing your browser to the test scripts:
  53. http://example.com/Examples/01simple.php
  54. http://example.com/Examples/02types.php
  55. ...
  56. Note: It may be necessary to modify the include/require statements at the beginning of
  57. each of the test scripts if your "Classes" folder from above is named differently.