PHPackages                             iliaal/php-excel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. iliaal/php-excel

ActivePhp-ext[PDF &amp; Document Generation](/categories/documents)

iliaal/php-excel
================

PHP extension for reading and writing Excel files using LibXL

2.2.0(3w ago)59731↓76.9%131PHP-3.01CPHP &gt;=8.1CI passing

Since Apr 5Pushed 2w ago39 watchersCompare

[ Source](https://github.com/iliaal/php_excel)[ Packagist](https://packagist.org/packages/iliaal/php-excel)[ Docs](https://github.com/iliaal/php_excel)[ RSS](/packages/iliaal-php-excel/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)DependenciesVersions (16)Used By (0)

php\_excel
==========

[](#php_excel)

[![Tests](https://github.com/iliaal/php_excel/actions/workflows/tests.yml/badge.svg)](https://github.com/iliaal/php_excel/actions/workflows/tests.yml)[![Windows Build](https://github.com/iliaal/php_excel/actions/workflows/windows.yml/badge.svg)](https://github.com/iliaal/php_excel/actions/workflows/windows.yml)[![Stars](https://camo.githubusercontent.com/210c3f9a615687b266a3b3ec8b4de7da3d40f525e3a6897b642a9df6a81a870e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f696c6961616c2f7068705f657863656c)](https://github.com/iliaal/php_excel/stargazers)[![Version](https://camo.githubusercontent.com/5fed5ef58d4b0226c63702b7993ea5c6aab19815cbe1bc80e429a67deb081305/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f696c6961616c2f7068705f657863656c)](https://github.com/iliaal/php_excel/releases)[![License: PHP-3.01](https://camo.githubusercontent.com/2d0c6e79d68e3ecde571be7a99c822e88c8379ff247dc40dddea7cad6872b8fb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d5048502d2d332e30312d677265656e2e737667)](http://www.php.net/license/3_01.txt)[![Follow @iliaa](https://camo.githubusercontent.com/a54521c97521f05fbadec4bd9bcba96ff1eeaffe756a6d7338b47a628cdeb39b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466f6c6c6f772d40696c6961612d3030303030303f7374796c653d666c6174266c6f676f3d78266c6f676f436f6c6f723d7768697465)](https://x.com/intent/follow?screen_name=iliaa)

[![php_excel: 7-10× faster Excel I/O for PHP](images/php_excel-hero.jpg)](images/php_excel-hero.jpg)

Native C extension for reading and writing Excel files in PHP, powered by [LibXL](http://www.libxl.com/). 7-10× faster than PhpSpreadsheet with substantially lower memory pressure. Full XLS and XLSX support: rich text, conditional formatting, formulas, autofilters, form controls, embedded charts, and structured tables. PHP 8.1+ minimum. 2.0 ground-up modernization shipped April 2026.

🚀 Install
---------

[](#-install)

Via [PIE](https://github.com/php/pie) (PHP Foundation's PECL successor):

```
pie install iliaal/php-excel \
  --with-libxl-incdir=/path/to/libxl/include_c \
  --with-libxl-libdir=/path/to/libxl/lib64
```

Or build from source:

```
phpize
./configure --with-excel \
  --with-libxl-incdir=/path/to/libxl/include_c \
  --with-libxl-libdir=/path/to/libxl/lib64
make
sudo make install
```

Then add `extension=excel.so` to your `php.ini`.

LibXL is a commercial library; download it from [libxl.com](http://www.libxl.com/) and point the configure flags at its `include_c` and `lib64` directories.

🛠️ Getting started
------------------

[](#️-getting-started)

```
