PhpSpreadsheet is a free, open-source PHP library for reading and writing spreadsheet files in a wide variety of formats including XLSX, XLS, ODS, CSV, HTML, and PDF. It is the successor to the popular PHPExcel library and is actively maintained with full support for modern PHP versions.
With PhpSpreadsheet, PHP developers can programmatically create Excel reports, import spreadsheet data into databases, export database records to Excel, generate charts and graphs, apply cell formatting and conditional styles, and protect worksheets — all from within their PHP application without any external dependencies on spreadsheet software.
PhpSpreadsheet is widely used in web applications for generating invoices, financial reports, data exports, and any scenario where structured spreadsheet output is required. It follows PSR standards and integrates cleanly with frameworks like Laravel, Symfony, and Yii.
Key Features
- Read and write XLSX, XLS, ODS, CSV, HTML, Gnumeric, and other spreadsheet formats
- Create charts, apply cell styles, number formats, borders, and conditional formatting
- Formula calculation engine supporting hundreds of Excel-compatible functions
- Merge cells, freeze panes, auto-filter, and data validation support
- Password protection and worksheet/workbook security settings
- PDF and HTML export via Dompdf, TCPDF, or mPDF integrations
- PSR-compliant, composer-installable, and compatible with PHP 7.4 and above
How to Install
- Click the download button below or install via Composer:
composer require phpoffice/phpspreadsheet - Include the Composer autoloader in your PHP script:
require 'vendor/autoload.php'; - Create a new spreadsheet:
$spreadsheet = new Spreadsheet(); - Write data to cells:
$sheet->setCellValue('A1', 'Hello World'); - Save to XLSX:
(new Xlsx($spreadsheet))->save('output.xlsx');
Frequently Asked Questions about PhpSpreadsheet – PHP Library for Reading and Writing Excel Files
Is PhpSpreadsheet – PHP Library for Reading and Writing Excel Files free?
PhpSpreadsheet – PHP Library for Reading and Writing Excel Files is completely free to download and use — no registration or payment required.
What are the system requirements for PhpSpreadsheet – PHP Library for Reading and Writing Excel Files?
Minimum requirements: Windows 7/10/11. A modern PC with at least 2GB RAM is recommended.
What is the latest version of PhpSpreadsheet – PHP Library for Reading and Writing Excel Files?
The latest version is 5.1.0, updated on 10/10/2025.
Is PhpSpreadsheet – PHP Library for Reading and Writing Excel Files safe to download?
Yes. All software listed on download.viet33.com is sourced directly from the official developer and verified before publishing. No bundled adware or malware.
Does PhpSpreadsheet – PHP Library for Reading and Writing Excel Files work on Windows 11?
Yes, PhpSpreadsheet – PHP Library for Reading and Writing Excel Files is compatible with Windows 7/10/11, including Windows 11.
Download DesktopCalendar 2.3.108.5601
87 Downloads
Download Hard Disk Sentinel 6.40
73 Downloads
Download Windows 10
57 Downloads
Download Sound Booster 1.2
57 Downloads
Download 3DP Chip 26.06
70 Downloads