Download the PHP package mvlabs/mvlabs-phpexcel without Composer
On this page you can find all versions of the php package mvlabs/mvlabs-phpexcel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mvlabs/mvlabs-phpexcel
More information about mvlabs/mvlabs-phpexcel
Files in mvlabs/mvlabs-phpexcel
Package mvlabs-phpexcel
Short Description MvlabsPHPExcel is a ZF2 module that allow easy to create, modify and read excel files (including pdf, xlsx, odt) using PHPOffice/PHPExcel library.
License MIT
Homepage https://github.com/mvlabs/MvlabsPHPExcel.git
Informations about the package mvlabs-phpexcel
MvlabsPHPExcel
MvlabsPHPExcel is a ZF2 module that allow easy to create, modify and read excel files (including pdf, xlsx, odt) using PHPOffice/PHPExcel library.
Requirements PHPExcel library
- PHP version 5.5.0 or higher
- PHP extension php_zip enabled (required if you need PHPExcel to handle .xlsx .ods or .gnumeric files)
- PHP extension php_xml enabled
- PHP extension php_gd2 enabled (optional, but required for exact column width autocalculation)
Installation
With composer
-
Add to your
composer.json
:$composer require liuggio/excelbundle
- Now tell composer to download MvlabsPHPExcel by running the command:
Post installation
- Enabling it in your
application.config.php
file.
Usage
The module registers one service:
- the
mvlabs.phpexcel.service
service allows you to interact with Excel files;
-
Creating a new workbook: If you want to create a new workbook, then you simply need to instantiate it as a new PHPExcel object.
-
Loading a Workbook from a file:
- Create a Excel2007 and save it to a file:
Render a excel document as response from a controller
Credits
MvlabsPHPExcel is based on the awesome PHPOffice/PHPExcel library. MvlabsPHPExcel has been developed by mvlabs.
All versions of mvlabs-phpexcel with dependencies
zendframework/zendframework Version ~2.5
phpoffice/phpexcel Version 1.8.*