PHPExcel is a comprehensive library for reading, writing, and manipulating Excel spreadsheets in PHP, supporting multiple formats like XLS, XLSX, CSV, and more. Developers can create complex spreadsheets with styled cells, formulas, charts, images, and multiple sheets programmatically. It also supports reading existing files, iterating through cells, applying data validation, and converting between formats. Because it handles the details of Excel file structures—including relationships, themes, and various metadata—users don’t need to manage proprietary file internals themselves. The API allows for cell access using row/column indexes or column letters, batch updates, and streaming writes to reduce memory usage. As a mature library, it’s used in reporting, migrations, invoice generation, and any scenario where dynamic, server-side spreadsheet generation is needed in PHP applications.

Features

  • Read and write spreadsheet files in formats like XLS, XLSX, CSV, ODS, HTML, and more
  • Supports Microsoft OpenXML and legacy Excel formats
  • Pure PHP implementation—framework-agnostic
  • Widely used before its deprecation; succeeded by PhpSpreadsheet as the active project
  • Offers powerful features like styling, formula parsing, and cell manipulation
  • LGPL licensed, facilitating integration in a variety of projects

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

GNU Free Documentation License

Follow PHPExcel

PHPExcel Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHPExcel!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Libraries

Registered

2025-09-10