PHPackages                             wisembly/excelant - 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. wisembly/excelant

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

wisembly/excelant
=================

1.0.2(12y ago)72158.3k↓50%17[1 PRs](https://github.com/Wisembly/ExcelAnt/pulls)MITPHPPHP &gt;=5.4.0

Since May 30Pushed 12y ago23 watchersCompare

[ Source](https://github.com/Wisembly/ExcelAnt)[ Packagist](https://packagist.org/packages/wisembly/excelant)[ Docs](https://github.com/wisembly/excelant)[ RSS](/packages/wisembly-excelant/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (8)Used By (0)

```
       |     |
        \   /
         \_/
    __   /^\   __
   '  `. \_/ ,'  `
        \/ \/
   _,--./| |\.--._
_,'   _.-\_/-._   `._
     |   / \   |
     |  /   \  |
    /   |   |   \
  -'    \___/    `-

```

\#ExcelAnt

[![Build Status](https://camo.githubusercontent.com/f71ca842e2ead61147720f7dfc4df33b1ec7d08312ff07ef8b58db02f3f709a4/68747470733a2f2f7472617669732d63692e6f72672f576973656d626c792f457863656c416e742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Wisembly/ExcelAnt)

ExcelAnt is an Excel manipulation library for PHP 5.4. It currently works on top of [PHPExcel](https://github.com/PHPOffice/PHPExcel). If you want to add / use another library, feel free to fork and contribute !

\#Version

1.0.0

\#Installation

1. Install composer : `curl -s http://getcomposer.org/installer | php`(more info at getcomposer.org)
2. Create a `composer.json` file in your project root : (or add only the excelant line in your existing composer file)

```
  {
    "require": {
      "wisembly/excelant": "*",
    }
  }
```

3. Install via composer : `php composer.phar install`

\#Use ExcelAnt

Create a simple Table :

```
use ExcelAnt\Adapter\PhpExcel\Workbook\Workbook,
    ExcelAnt\Adapter\PhpExcel\Sheet\Sheet,
    ExcelAnt\Adapter\PhpExcel\Writer\Writer,
    ExcelAnt\Table\Table,
    ExcelAnt\Coordinate\Coordinate;

Class Export
{
    public function createExport(array $users)
    {
        $workbook = new Workbook();
        $sheet = new Sheet($workbook);
        $table = new Table();

        foreach ($users as $user) {
            $table->setRow([
                $user->getName(),
                $user->getEmail(),
            ]);
        }

        $sheet->addTable($table, new Coordinate(1, 1));
        $workbook->addSheet($sheet);
    }
}
```

Now, to export your Workbook, you need to create a Writer :

```
use ExcelAnt\Adapter\PhpExcel\Writer\WriterFactory,
    ExcelAnt\Adapter\PhpExcel\Writer\PhpExcelWriter\Excel5;

$writer = (new WriterFactory())->createWriter(new Excel5('/path/to/myExport.xls'));
```

Convert your Worbook to create a PHPExcel object and export it :

```
$phpExcel = $writer->convert($workbook);
$writer->write($phpExcel);
```

[![Simple table](https://camo.githubusercontent.com/246fbcefcba4d65902e6e0a937d4bf19a29f039b5dc55df3016b95527392b933/68747470733a2f2f7261772e6769746875622e636f6d2f576973656d626c792f457863656c416e742f6d61737465722f646f63732f73696d706c652d7461626c652e706e67)](https://camo.githubusercontent.com/246fbcefcba4d65902e6e0a937d4bf19a29f039b5dc55df3016b95527392b933/68747470733a2f2f7261772e6769746875622e636f6d2f576973656d626c792f457863656c416e742f6d61737465722f646f63732f73696d706c652d7461626c652e706e67)

\#Documentation

Coming soon...

\#Contributing

ExcelAnt is an open source project. If you would like to contribute, fork the repository and submit a pull request.

\#Running ExcelAnt Tests

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% 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 ~46 days

Total

3

Last Release

4605d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11400ade55a71197808c548868ec15b5061fd4f88accaafcdd799beb40324403?d=identicon)[guillaumepotier](/maintainers/guillaumepotier)

---

Top Contributors

[![rgazelot](https://avatars.githubusercontent.com/u/1488251?v=4)](https://github.com/rgazelot "rgazelot (177 commits)")[![guillaumepotier](https://avatars.githubusercontent.com/u/496234?v=4)](https://github.com/guillaumepotier "guillaumepotier (4 commits)")[![luebbert42](https://avatars.githubusercontent.com/u/422440?v=4)](https://github.com/luebbert42 "luebbert42 (2 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (1 commits)")

---

Tags

excel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wisembly-excelant/health.svg)

```
[![Health](https://phpackages.com/badges/wisembly-excelant/health.svg)](https://phpackages.com/packages/wisembly-excelant)
```

###  Alternatives

[liuggio/excelbundle

This is a Symfony2 Bundle helps you to read and write Excel files (including pdf, xlsx, odt), thanks to the PHPExcel library

3776.4M10](/packages/liuggio-excelbundle)[arogachev/yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

6480.3k1](/packages/arogachev-yii2-excel)[dakota/cake-excel

CakePHP excel generator

2324.9k](/packages/dakota-cake-excel)[phpnt/yii2-export

Yii2 It saves data in xls, csv, word, html, pdf files.

158.9k](/packages/phpnt-yii2-export)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)

PHPackages © 2026

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