CBX PhpSpreadSheet Library #8 in Developer Tools
PHP Spreadsheet library as WordPress plugin
by Codeboxr · github.com/codeboxrcodehub/cbxphpspreadsheet · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/codeboxrcodehub/cbxphpspreadsheet/releases/download/1.0.12/cbxphpspreadsheet.zipReadme
=== CBX PhpSpreadSheet Library === Contributors: codeboxr, manchumahara Requires at least: 5.3 Tested up to: 6.8 Stable tag: 1.0.12 License: MIT License URI: https://github.com/codeboxrcodehub/cbxphpspreadsheet/blob/master/LICENSE.txt
Open source PhpSpreadSheet php library released as wordpress plugin to use easily
== Description ==
A pure PHP library for reading and writing spreadsheet files
From Codeboxr we wrapped the library as wordpress plugin to easy distribute as wordpress plugin. WordPress now doesn't allow this type library as plugin but providing a large php package with plugin makes the plugin heavy and troublesome for updates. We hosted this in github so that user can download and later update easily.
Software requirements
The following software is required to develop using PhpSpreadsheet:
- PHP version 8.1 or newer
- PHP extension php_zip enabled
- PHP extension php_xml enabled
- PHP extension php_gd2 enabled (if not compiled in)
The plugin check php version, php_zip, php_xml and php_gd2 library compatible or installed or not, based on success it activated.
How to use:
` if ( function_exists( 'cbxphpspreadsheet_loadable' ) && cbxphpspreadsheet_loadable() ) {
//Include PHPExcel
require_once( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ); //or use 'cbxphpspreadsheet_load();'
//now take instance
$objPHPExcel = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
//do whatever you need to do
} `
== Installation ==
- Download the latest zip from here (https://github.com/codeboxrcodehub/cbxphpspreadsheet/releases)
- [WordPress has clear documentation about how to install a plugin].(https://codex.wordpress.org/Managing_Plugins)
- After install activate the plugin "CBX PhpSpreadSheet Library" through the 'Plugins' menu in WordPress
- This plugin doesn't load any library by default, it doesn't create extra folder or menu.
== Changelog == = 1.0.12 =
- [updated] Plugin's important link/help url display improved
= 1.0.11 =
- [updated] Added plugin update checker
= 1.0.10 =
- Updated php package phpoffice/phpspreadsheet to 3.9.1
= 1.0.9 =
- Fixed function 'php_version_check'
= 1.0.8 =
- Dependency vendor packages updated to latest
- Added some helper functions for better environment checking
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 1.0.12 | Apr 15, 2025 | cbxphpspreadsheet.zip | 673 |
| 1.0.11 | Apr 15, 2025 | cbxphpspreadsheet.zip | 12 |
| 1.0.10 | Mar 19, 2025 | cbxphpspreadsheet.zip | 49 |
| 1.0.9 | Jan 22, 2025 | cbxphpspreadsheet.zip | 89 |
| 1.0.8 | Jan 20, 2025 | cbxphpspreadsheet.zip | 17 |
| V1.0.6 | Oct 3, 2024 | cbxphpspreadsheet.zip | 164 |
| V1.0.5 | Mar 13, 2024 | cbxphpspreadsheet.zip | 260 |
| v1.0.4 | Jan 30, 2024 | cbxphpspreadsheet.zip | 90 |
| v1.0.3 | Sep 23, 2022 | cbxphpspreadsheet.zip | 659 |
| V1.0.2 | Jan 30, 2022 | cbxphpspreadsheet.zip | 591 |
| v1.0.0 | May 25, 2019 | cbxphpspreadsheet.zip | 1,146 |
Active-site estimate ≈50 comes from the median of recent superseded releases. Method.