Download the PHP package xlsxwriter/excel without Composer
On this page you can find all versions of the php package xlsxwriter/excel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xlsxwriter/excel
More information about xlsxwriter/excel
Files in xlsxwriter/excel
Download xlsxwriter/excel
More information about xlsxwriter/excel
Files in xlsxwriter/excel
Please rate this library. Is it a good library?
Informations about the package excel
XLSXWriter
Overview
XLSXWriter is a PHP library built on top of PhpSpreadsheet that allows you to easily convert data into an Excel (.xlsx) file. With its modular design, XLSXWriter provides a clean API for generating Excel files with customizable features such as headers, rows, borders, font styles, background colors, and more.
Note: This library requires PHP 8.3 or later.
Features
- Modular Architecture:
Separate classes handle building the spreadsheet, applying styles, and saving the file. - Customizable Styling:
Easily customize fonts, colors, borders, and cell formats using PhpSpreadsheet’s style API. - Robust Excel Generation:
Leverages PhpSpreadsheet to create real Excel files (.xlsx) with support for advanced features. - Easy Integration:
Suitable for plain PHP projects or Laravel applications.
Installation
Install XLSXWriter via Composer. This command will also install PhpSpreadsheet as a dependency:
Using Examples
Basic Example
- Below is a simple example that creates an Excel file with headers and data rows, applying basic styling (such as bold headers with a yellow background and thin borders):
Advanced Usage in a Laravel Controller
- Here’s an example of how to integrate XLSXWriter in a Laravel controller to generate and download an Excel file:
Positioning Your Table with Offsets
Customizing Styles
All versions of excel with dependencies
PHP Build Version
Package Version
The package xlsxwriter/excel contains the following files
Loading the files please wait ....