Documentation Index
Fetch the complete documentation index at: https://mintlify.com/PHPOffice/PhpSpreadsheet/llms.txt
Use this file to discover all available pages before exploring further.
PhpSpreadsheet
A powerful pure PHP library for reading and writing spreadsheet files. Work with Excel, OpenDocument, CSV, and more — all from your PHP code.
Quick Start
Get up and running with PhpSpreadsheet in minutes
Key Features
Everything you need to work with spreadsheets in PHP
Multiple File Formats
Formula Engine
Rich Formatting
Charts & Graphics
Memory Efficient
Data Operations
Explore by Topic
Deep dive into specific areas of PhpSpreadsheet
Reading Files
Learn how to read spreadsheet files from various formats into PhpSpreadsheet objects
Writing Files
Export your spreadsheet data to Excel, PDF, CSV, HTML and other formats
Formulas & Calculations
Use Excel formulas and leverage the powerful built-in calculation engine
Styling & Formatting
Apply rich formatting, colors, borders, fonts, and number formats to your cells
Popular Examples
Common use cases and code examples
Hello World
Reading Spreadsheets
Styling Cells
Working with Formulas
Creating Charts
Data Validation
Ready to get started?
Install PhpSpreadsheet via Composer and start working with spreadsheets in your PHP application today.
View Quickstart Guide
