Download the PHP package anourvalar/office without Composer
On this page you can find all versions of the php package anourvalar/office. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anourvalar/office
More information about anourvalar/office
Files in anourvalar/office
Download anourvalar/office
More information about anourvalar/office
Files in anourvalar/office
Vendor anourvalar
Package office
Short Description Generate documents from existing Excel & Word templates | Export tables to Excel (Grids)
License MIT
Homepage https://github.com/AnourValar/office
Package office
Short Description Generate documents from existing Excel & Word templates | Export tables to Excel (Grids)
License MIT
Homepage https://github.com/AnourValar/office
Please rate this library. Is it a good library?
Informations about the package office
Office: Documents | Reports | Grids
Installation
Minimal
Phpspreadsheet is required to work with Excel (xlsx).
Zipstream-php is required to work with Word (docx).
Mpdf is required to work with PDF.
Generate a document from an XLSX (Excel) template
One-dimensional table (basic usage)
template1.xlsx:
generated_document.xlsx:
The same template with empty data
Two-dimensional table
template2.xlsx:
generated_document.xlsx:
Additional Features
template3.xlsx:
generated_document.xlsx:
Dynamic templates
Dynamic template overview
generated_document.xlsx:
Merge (union) few documents to a single file
Access the PhpSpreadsheet directly (default driver)
Generate a document from an DOCX (Word) template
template.docx:
generated_document.docx:
Export table (Grid)
Simple usage
generated_grid.xlsx:
Advanced usage (generators)
generated_grid.xlsx:
Performance
By default, GridService uses PhpSpreadsheetDriver which gives a lot of features and flexability. The only cons are performance and memory consumtion.
ZipDriver as an alternative is simpler, but much more faster:
All versions of office with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
The package anourvalar/office contains the following files
Loading the files please wait ....