CBX PhpSpreadSheet Library WP Registry grade C-. High-severity findings · 1 findingWP RegistryHigh-severity findings · 1 findingOpen the reportC-
PHP Spreadsheet library as WordPress plugin
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/codeboxrcodehub/cbxphpspreadsheet/releases/download/1.0.12/cbxphpspreadsheet.zipOpen 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
Releases
11 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈50 comes from the median of recent superseded releases. Method.