Download the PHP package adnzaki/excel-creator without Composer
On this page you can find all versions of the php package adnzaki/excel-creator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adnzaki/excel-creator
More information about adnzaki/excel-creator
Files in adnzaki/excel-creator
Package excel-creator
Short Description A PHPOffice Spreadsheet simplifier
License MIT
Homepage https://github.com/adnzaki/ExcelCreator
Informations about the package excel-creator
ExcelCreator
A simple and elegant way to work with PHPSpreadsheet
Introduction
ExcelCreator is a modern wrapper around PHPSpreadsheet that simplifies the most commonly used tasks in reading and writing Excel files. It provides two main classes: Writer
for creating and formatting spreadsheets, and Reader
for loading and reading spreadsheet content.
Installation
Install ExcelCreator using Composer:
With existing composer.json
Then run:
Without composer.json
Install the Latest Source Code
If you prefer the latest development version:
Then run composer update
.
Usage
This library provides two main classes under the namespace ExcelTools
:
📝 Writing Excel Files with Writer
-
Saving file to browser:
-
Apply styles to cell range:
-
Fill data:
-
Text wrapping:
-
Merge & unmerge:
-
Column widths:
-
Row heights:
- Set default font:
📖 Reading Excel Files with Reader
-
Get all data from the active sheet:
-
Get sheet names:
- Switch to another sheet:
License
MIT
Author
Adnan Zaki – https://github.com/adnzaki