PHPackages                             tbcd/excel-utils - 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. tbcd/excel-utils

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

tbcd/excel-utils
================

Easy way to create Excel worksheets, spreadsheets and files

1.1.1(2y ago)052MITPHPPHP &gt;=8.1.0

Since May 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ThomasBeauchataud/ExcelUtils)[ Packagist](https://packagist.org/packages/tbcd/excel-utils)[ RSS](/packages/tbcd-excel-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

ExcelUtils
==========

[](#excelutils)

This library to easily create excel worksheets, spreadsheets and files.

Usage
-----

[](#usage)

1. Inject the service from container if you have one or create it

```
private ExcelFileFactory $excelFileFactor;

public function __construct(ExcelFileFactory $excelFileFactory)
{
    $this->excelFileFactory = $excelFileFactory;
}

```

```
$excelFileFactory = new ExcelFileFactory($spreadsheetFactory);

```

2. Create the file with your data

```
$data = [
    [
        'column1' => 'row1',
        'column2' => 'row1',
        'column3' => 'row1'
    ],
    [
        'column1' => 'row2',
        'column2' => 'row2',
        'column3' => 'row2'
    ]
];

$filePath = $fileFactory->createFileWithData(new WorksheetData($data, 'my-sheet-name'), 'my_file.xlsx');

```

3. Get then result below

[![alt text](doc/exemple.png)](doc/exemple.png)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~153 days

Total

4

Last Release

1017d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.0.2

1.1.0PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c40cb1e0ff7519a44fcd8438eb3e69ac9d1fe31c855c8ef50966a3c3ad8856c1?d=identicon)[ffcfalcos](/maintainers/ffcfalcos)

---

Tags

excelspreadsheetworksheetsheet

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tbcd-excel-utils/health.svg)

```
[![Health](https://phpackages.com/badges/tbcd-excel-utils/health.svg)](https://phpackages.com/packages/tbcd-excel-utils)
```

###  Alternatives

[yidas/phpspreadsheet-helper

PHP Excel Helper - Write and read Spreadsheet with easy way based on PhpSpreadsheet

383144.5k3](/packages/yidas-phpspreadsheet-helper)[svrnm/exceldatatables

Replace a worksheet within an Excel workbook (.xlsx) without changing any other properties of the file

30284.3k](/packages/svrnm-exceldatatables)[roromix/spreadsheetbundle

This is a Symfony 7.1+ Bundle helps you to read and write Spreadsheet files (including pdf, xls, xlsx, odt, csv), thanks to the PHPSpreadsheet library

24410.2k1](/packages/roromix-spreadsheetbundle)[onurb/excel-bundle

Symfony Bundle to read or write Excel file (including pdf, xlsx, odt), using phpoffice/phpspreadsheet library (replacement of phpoffice/phpexcel, abandonned)

15332.0k](/packages/onurb-excel-bundle)

PHPackages © 2026

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