|
| 1 | +=== CBX PhpSpreadSheet Library === |
| 2 | +Contributors: codeboxr, manchumahara |
| 3 | +Requires at least: 3.5 |
| 4 | +Tested up to: 6.4.3 |
| 5 | +Stable tag: 1.0.5 |
| 6 | +License: MIT |
| 7 | +License URI: https://github.com/codeboxrcodehub/cbxphpspreadsheet/blob/master/LICENSE.txt |
| 8 | + |
| 9 | +Open source PhpSpreadSheet php library released as wordpress plugin to use easily |
| 10 | + |
| 11 | +== Description == |
| 12 | + |
| 13 | +A pure [PHP library for reading and writing spreadsheet files](https://phpspreadsheet.readthedocs.io) |
| 14 | + |
| 15 | +From Codeboxr we wrapped the library as wordpress plugin to easy distribute as wordpress plugin. WordPress now doesn't allow this type library as |
| 16 | +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 |
| 17 | +update easily. |
| 18 | + |
| 19 | +Software requirements |
| 20 | + |
| 21 | +The following software is required to develop using PhpSpreadsheet: |
| 22 | + |
| 23 | + * PHP version 7.4 or newer |
| 24 | + * PHP extension php_zip enabled |
| 25 | + * PHP extension php_xml enabled |
| 26 | + * PHP extension php_gd2 enabled (if not compiled in) |
| 27 | + |
| 28 | + |
| 29 | +The plugin check php version, php_zip, php_xml and php_gd2 library compatible or installed or not, based on success it activated. |
| 30 | + |
| 31 | +How to use: |
| 32 | + |
| 33 | +` |
| 34 | +if ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && file_exists( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ) ) { |
| 35 | + //Include PHPExcel |
| 36 | + require_once( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ); |
| 37 | + |
| 38 | + //now take instance |
| 39 | + $objPHPExcel = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); |
| 40 | + |
| 41 | + //do whatever you need to do |
| 42 | +} |
| 43 | +` |
| 44 | + |
| 45 | +== Installation == |
| 46 | + |
| 47 | +1. Download the latest zip from here (https://github.com/codeboxrcodehub/cbxphpspreadsheet/releases) |
| 48 | +2. [WordPress has clear documentation about how to install a plugin].(https://codex.wordpress.org/Managing_Plugins) |
| 49 | +3. After install activate the plugin "CBX PhpSpreadSheet Library" through the 'Plugins' menu in WordPress |
| 50 | +4. This plugin doesn't load any library by default, it doesn't create extra folder or menu. |
| 51 | + |
| 52 | + |
| 53 | +== Changelog == |
| 54 | + |
| 55 | += 1.0.5 = |
| 56 | +* Dependency vendor packages updated to latest |
| 57 | +* Github.com based updater |
| 58 | + |
| 59 | += 1.0.4 = |
| 60 | +* Updated the phpspreadsheet package to latest V1.29.0 |
| 61 | + |
| 62 | += 1.0.3 = |
| 63 | +* Updated the phpspreadsheet package to latest V1.21.0 |
| 64 | + |
| 65 | += 1.0.2 = |
| 66 | +* Updated the phpspreadsheet package to latest V1.21.0 |
| 67 | + |
| 68 | += 1.0.1 = |
| 69 | +* Updated the phpspreadsheet package to latest |
| 70 | + |
| 71 | += 1.0.0 = |
| 72 | +* First public release |
0 commit comments