Extension:PHPExcel

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎中文
MediaWiki extensions manual
Crystal Clear action run.png
PHPExcel

Release status: stable

Description A container for the PHPExcel library.
Author(s) Kim Eik (netbraintalk)
Latest version 1.7.8 (2013-05-03)
MediaWiki 1.21+
PHP 5.2+
Database changes No
Composer phpoffice/phpexcel
License GNU Lesser General Public License
Download
README

Translate the PHPExcel extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

The PHPExcel extension is a container for the PHPExcel library. Installing this extension will make PHPExcel's functionality available for other extensions to use.

If you are using Composer for dependency management, you don't need to install this extension. This extension is just a wrapper to load the PHPExcel library correctly. Using Composer you can easily get the official distribution of the library.

Installation[edit | edit source]

Through Composer[edit | edit source]

Note Note: Recommended for MW 1.22+

Either enter the following in your command line:

composer require phpoffice/phpexcel 1.8.0

or add the following as the last line of the "require" section in your "composer.json" file:

"phpoffice/phpexcel": "1.8.0"
Replace the version number "1.8.0" of this example with the version number you want to install at your convenience.

Without Composer[edit | edit source]

  • Download and place the file(s) in a directory called PHPExcel in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/PHPExcel/PHPExcel.php";
  • YesY Done - Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.