PHPackages                             soluble/php\_excel\_dev - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. soluble/php\_excel\_dev

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

soluble/php\_excel\_dev
=======================

LibXL - php\_excel development stubs

0.1.1(6y ago)15.8k11MITPHPPHP ^7.1

Since Apr 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/belgattitude/php_excel_dev)[ Packagist](https://packagist.org/packages/soluble/php_excel_dev)[ Docs](https://github.com/belgattitude/php_excel_dev)[ RSS](/packages/soluble-php-excel-dev/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (7)Versions (3)Used By (1)

[![PHP 7.1+](https://camo.githubusercontent.com/375e8de41f75571c97dd554f5c9f27ae12cd39c71eb6a02478a79f5962e5801e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e312b2d6666363962342e737667)](https://packagist.org/packages/belgattitude/php_excel_dev)[![Build Status](https://camo.githubusercontent.com/7b4e538513d6cf1c72abb16a9ce8a54fbd4739a61e429abafe1d977ab69568aa/68747470733a2f2f7472617669732d63692e6f72672f62656c6761747469747564652f7068705f657863656c5f6465762e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/belgattitude/php_excel_dev)[![Total Downloads](https://camo.githubusercontent.com/77d3fef27f1f63021cd7607a63e0bfc9694a228179a309eabb1b214565b57a34/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f7068705f657863656c5f6465762f646f776e6c6f6164732e706e67)](https://packagist.org/packages/soluble/php_excel_dev)[![License](https://camo.githubusercontent.com/8690c1ae19e8ea84c7cb71b69f2ffa1ed33a72aad3955d036e7d164287262093/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f7068705f657863656c5f6465762f6c6963656e73652e706e67)](https://github.com/belgattitude/php_excel_dev)

**Installation tips**, **stubs** and **checker** for [LibXL](http://www.libxl.com) / [iliaal/php\_excel](https://github.com/iliaal/php_excel) php extension.

Stubs
-----

[](#stubs)

Useful to enable autocompletion in your project `composer require soluble/php_excel_dev --dev`

> Stubs should be installed as a `--dev` dependency.

LibXL install
-------------

[](#libxl-install)

In order to compile the [iliaal/php\_excel](https://github.com/iliaal/php_excel) you must have libXL installed and the php development packages installed (phpize, phpconfig).

On Ubuntu, ensure you have the `php-dev` package installed.

```
sudo apt-get install php-dev
```

> *Alternatively suffix with the php version if you're using the ondrej/php ppa:*
>
> ```
> sudo apt-get install php7.3-dev
> ```

### Automated installation scripts

[](#automated-installation-scripts)

You can either use one of the bash scripts below :

PHPDistributionGist7.3Ubuntu [ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php) ppa[install\_phpexcel\_php73.sh](https://gist.github.com/belgattitude/7af75780e13530fd2895607079499318)7.2Ubuntu [ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php) ppa[install\_phpexcel\_php72.sh](https://gist.github.com/belgattitude/69d3245227d4cc284996e3f0a1bc0033)7.1Ubuntu [ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php) ppa[install\_phpexcel\_php71.sh](https://gist.github.com/belgattitude/999aee8eb6bd73fd0a7367ad896c76c3)7.xFor Travis CI[travis-install-libxl.sh](.travis/travis-install-libxl.sh)> Be sure the extension is loaded (in your php.ini) or type `phpenmod excel`.

### Manual installation

[](#manual-installation)

#### LibXL

[](#libxl)

The [libxl](http://www.libxl.com) static binaries can easily be installed:

```
sudo mkdir /opt/libxl-3.8.2;
wget -qO- http://www.libxl.com/download/libxl-lin-3.8.2.tar.gz | sudo tar zxvf - --strip 1 --directory /opt/libxl-3.8.2
```

#### PHP extension

[](#php-extension)

Download and unzip the [php\_excel/php7](https://github.com/iliaal/php_excel/tree/php7) branch:

```
wget -qO- https://github.com/iliaal/php_excel/archive/php7.tar.gz | tar zxvf - --directory /tmp
```

Build the extension;

```
cd /tmp/php_excel-php7;
./configure --with-php-config=`which php-config` \
            --with-libxl-incdir=/opt/libxl-3.8.2/include_c/ \
            --with-libxl-libdir=/opt/libxl-3.8.2/lib64/ \
            --with-excel=/opt/libxl-3.8.2 && \
make && \
make install
```

> In case you're using multiple php versions, you can generally suffix the phpize and phpconfig commands like `phpize-7.3`, `php-config-7.3`...

Then register the extension in your php.ini:

```
extension=excel.so
```

> For ondrej/php ppa
>
> ```
> echo "extension=excel.so" > /tmp/excel.ini;
> sudo cp /tmp/excel.ini /etc/php/php7.3/mods-available/excel.ini;
> sudo phpenmod -v 7.3 excel;
> ```

Checks
------

[](#checks)

A convenience script to check installation can be run from composer

```
$ composer check:libxl --
```

or directly from php

```
$ ./bin/check_phpexcel_install.sh
```

It checks for correctly loaded extension and valid license.

Versions
--------

[](#versions)

VersionLibXLphp\_excelNote(s)0.1.x3.8.2[php7-branch](https://github.com/iliaal/php_excel/tree/php7)&gt; 3.8.2 seems to have license problem

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~137 days

Total

2

Last Release

2457d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d46e3c1ed3f21ab21812eec026e363708d97adf28b743a41c4b2be45bf5e981?d=identicon)[belgattitude](/maintainers/belgattitude)

---

Top Contributors

[![belgattitude](https://avatars.githubusercontent.com/u/259798?v=4)](https://github.com/belgattitude "belgattitude (38 commits)")

---

Tags

extensionphpstubsphp-excelLibXL

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/soluble-php-excel-dev/health.svg)

```
[![Health](https://phpackages.com/badges/soluble-php-excel-dev/health.svg)](https://phpackages.com/packages/soluble-php-excel-dev)
```

###  Alternatives

[hasantayyar/synonyms

Get synonyms of a word

101.8k](/packages/hasantayyar-synonyms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
