Download the PHP package elearning-ag/exceldatatables without Composer
On this page you can find all versions of the php package elearning-ag/exceldatatables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elearning-ag/exceldatatables
More information about elearning-ag/exceldatatables
Files in elearning-ag/exceldatatables
Package exceldatatables
Short Description Replace a worksheet within an Excel workbook (.xlsx) without changing any other properties of the file
License Apache-2.0
Informations about the package exceldatatables
ExcelDataTables
Replace a worksheet within an Excel workbook (.xlsx
) without changing any
other properties of the file.
License
This program is free software; see LICENSE for more details.
Details
The main purpose of this library is adding a "data table" to an existing excel file without modifying any other components. This is especially useful if you have a template file, e.g. for reporting including "advanced" features like charts, pivot tables, macros and you'd like to change a base data table within a PHP application.
Setup
Use composer to add this repository to your dependencies:
If you use the Laravel framework you can additionally add
the ServiceProvider
to your config/app.php
:
Example
The following example demonstrates how to use ExcelDataTables. The following is
also contained as example.php
within the folder examples/
:
In this example the method attachToFile
creates a new excel file. If you use
this library within a web application you might prefer the fillXLSX()
function
which returns a string representation of the excel document. The following
examples demonstrates this case within a Laravel application
Contact
For any questions you can contact Severin Neumann [email protected].