Giter Site home page Giter Site logo

codeboxrcodehub / cbxphpspreadsheet Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 4.0 5.26 MB

PHP Spreadsheet library as WordPress pluigin

Home Page: https://codeboxr.com/php-spreadsheet-library-wordpress-plugin/

License: MIT License

PHP 100.00%
wordpress php phpspreadsheet

cbxphpspreadsheet's Introduction

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 7.4 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 ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && file_exists( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ) ) {

//Include PHPExcel
require_once( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' );

//now take instance
$objPHPExcel = new \PhpOffice\PhpSpreadsheet\Spreadsheet();

//do whatever you need to do

}``

Installation

  1. Download the latest zip from here (https://github.com/codeboxrcodehub/cbxphpspreadsheet/releases)
  2. [WordPress has clear documentation about how to install a plugin].(https://codex.wordpress.org/Managing_Plugins)
  3. After install activate the plugin "CBX PhpSpreadSheet Library" through the 'Plugins' menu in WordPress
  4. This plugin doesn't load any library by default, it doesn't create extra folder or menu.

Licence

MIT

cbxphpspreadsheet's People

Contributors

deepakdeb avatar dependabot[bot] avatar manchumahara avatar moojomoore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cbxphpspreadsheet's Issues

How to use?

Hi,

After install the plugin, do I have to download PHPSpreadsheet manually and upload to my WordPress site?

I can use the plugin now, but I wonder how I can modify plugin so that I can host my own PHP Spreadsheet library somewhere in my Git and point the plugin to that?_

Br,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.