Extension:PHPExcel
Appearance
From mediawiki.org
Revision as of 05:47, 18 July 2017 by SamanthaNguyen (talk | contribs) (mark extension type as "php")
Release status: stable |
|
|---|---|
| Implementation | PHP |
| Description | A container for the PHPExcel library. |
| Author(s) | Kim Eik (netbrain talk ) |
| Latest version | 1.7.8 (2013年05月03日) |
| MediaWiki | 1.21+ |
| PHP | 5.2+ |
| Database changes | No |
| Composer | phpoffice/phpexcel |
| Licence | GNU Library/Lesser General Public License (any version) |
| Download | README |
| Translate the PHPExcel extension if it is available at translatewiki.net | |
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
Through Composer
Recommended for MW 1.22+
Either enter the following in your command line:
composerrequirephpoffice/phpexcel1.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
- Download and move the extracted
PHPExcelfolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cdextensions/ gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/PHPExcel - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/PHPExcel/PHPExcel.php";
- Yes Done – Navigate to
Special:Versionon your wiki to verify that the extension is successfully installed.