PHPackages                             sonata-project/exporter - 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. sonata-project/exporter

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

sonata-project/exporter
=======================

Lightweight Exporter library

3.4.0(5mo ago)44920.9M↓16.7%88[3 issues](https://github.com/sonata-project/exporter/issues)20MITPHPPHP ^8.2CI passing

Since Jan 13Pushed 4mo ago18 watchersCompare

[ Source](https://github.com/sonata-project/exporter)[ Packagist](https://packagist.org/packages/sonata-project/exporter)[ Docs](https://docs.sonata-project.org/projects/exporter)[ GitHub Sponsors](https://github.com/VincentLanglet)[ GitHub Sponsors](https://github.com/core23)[ RSS](/packages/sonata-project-exporter/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (22)Versions (60)Used By (20)

SonataExporter
==============

[](#sonataexporter)

Lightweight Exporter library

[![Latest Stable Version](https://camo.githubusercontent.com/7bd6cf4cf28595a9bd0a710496319a8c7eb3d3cf3c0a4610de5664efd5120cf9/68747470733a2f2f706f7365722e707567782e6f72672f736f6e6174612d70726f6a6563742f6578706f727465722f762f737461626c65)](https://packagist.org/packages/sonata-project/exporter)[![Latest Unstable Version](https://camo.githubusercontent.com/00797d38cb69f7f6dd75baa4ceb975d1d380a0ce3631fa01f37c36dbda87f00a/68747470733a2f2f706f7365722e707567782e6f72672f736f6e6174612d70726f6a6563742f6578706f727465722f762f756e737461626c65)](https://packagist.org/packages/sonata-project/exporter)[![License](https://camo.githubusercontent.com/ea9a50228ae6ec56e908c6461394d6af95d6cf2540c1e569d5ad5653dd6631b9/68747470733a2f2f706f7365722e707567782e6f72672f736f6e6174612d70726f6a6563742f6578706f727465722f6c6963656e7365)](https://packagist.org/packages/sonata-project/exporter)

[![Total Downloads](https://camo.githubusercontent.com/64441d97fef135b203ef91a94ed53f0642a3794a881568ebe6a1d4156f1353bc/68747470733a2f2f706f7365722e707567782e6f72672f736f6e6174612d70726f6a6563742f6578706f727465722f646f776e6c6f616473)](https://packagist.org/packages/sonata-project/exporter)[![Monthly Downloads](https://camo.githubusercontent.com/493fceda20d633c3562b682b49ca07b669e707e9ea1f6a7615410d4ac8b0a6c6/68747470733a2f2f706f7365722e707567782e6f72672f736f6e6174612d70726f6a6563742f6578706f727465722f642f6d6f6e74686c79)](https://packagist.org/packages/sonata-project/exporter)[![Daily Downloads](https://camo.githubusercontent.com/bfde76e071d017700c9108388dd4c3a86cbe610aa12be5d0358031b1296e0355/68747470733a2f2f706f7365722e707567782e6f72672f736f6e6174612d70726f6a6563742f6578706f727465722f642f6461696c79)](https://packagist.org/packages/sonata-project/exporter)

BranchGithub ActionsCode CoverageDocumentation3.x[![Test](https://github.com/sonata-project/exporter/workflows/Test/badge.svg?branch=3.x)](https://github.com/sonata-project/exporter/actions?query=workflow:test+branch:3.x)[![Coverage Status](https://camo.githubusercontent.com/52ecf8e04b727a0f556cfc498a7b684ab85792e9171e37663b617744b61122ff/68747470733a2f2f636f6465636f762e696f2f67682f736f6e6174612d70726f6a6563742f6578706f727465722f6272616e63682f332e782f67726170682f62616467652e737667)](https://app.codecov.io/gh/sonata-project/exporter/tree/3.x)[![Documentation Status](https://camo.githubusercontent.com/c53e989e631e84506a3a9225b56a9d56dbf69e07060ec351c8efd25d3379c441/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f736f6e6174612d70726f6a6563742d6578706f727465722f62616467652f3f76657273696f6e3d332e78)](https://docs.sonata-project.org/projects/exporter/en/3.x/?badge=3.x)4.x[![Test](https://github.com/sonata-project/exporter/workflows/Test/badge.svg?branch=4.x)](https://github.com/sonata-project/exporter/actions?query=workflow:test+branch:4.x)[![Coverage Status](https://camo.githubusercontent.com/aefd3619637c2184b0a1e3da0bf9774ab8bcd547c10e02f30ce54098b671aaf9/68747470733a2f2f636f6465636f762e696f2f67682f736f6e6174612d70726f6a6563742f6578706f727465722f6272616e63682f342e782f67726170682f62616467652e737667)](https://app.codecov.io/gh/sonata-project/exporter/tree/4.x)[![Documentation Status](https://camo.githubusercontent.com/e8454102c13d2e9d84f55cca908fd97f051815ba9ba39acec1e9cc0e9ab2be69/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f736f6e6174612d70726f6a6563742d6578706f727465722f62616467652f3f76657273696f6e3d342e78)](https://docs.sonata-project.org/projects/exporter/en/4.x/?badge=4.x)Documentation
-------------

[](#documentation)

Check out the documentation on the [official website](https://docs.sonata-project.org/projects/exporter).

Support
-------

[](#support)

For general support and questions, please use [StackOverflow](https://stackoverflow.com/questions/tagged/sonata).

If you think you found a bug or you have a feature idea to propose, feel free to open an issue **after looking** at the [contributing guide](CONTRIBUTING.md).

License
-------

[](#license)

This package is available under the [MIT license](LICENSE).

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance72

Regular maintenance activity

Popularity69

Solid adoption and visibility

Community44

Growing community involvement

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 56.3% 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 ~84 days

Recently: every ~220 days

Total

58

Last Release

55d ago

Major Versions

1.11.0 → 2.0.12019-01-26

1.x-dev → 2.1.02020-02-06

2.13.0 → 3.0.0-alpha12022-06-14

2.x-dev → 3.2.02023-07-22

3.x-dev → 4.x-dev2026-03-25

PHP version history (10 changes)1.0.0PHP &gt;=5.3.0

1.5.0PHP ^5.3 || ^7.0

1.8.0PHP ^5.6 || ^7.0

2.0.0PHP ^7.2

2.5.0PHP &gt;=7.3

2.5.1PHP ^7.3 || ^8.0

2.12.0PHP ^7.4 || ^8.0

3.0.0-alpha1PHP ^8.0

3.3.1PHP ^8.1

3.4.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/404157?v=4)[Sonata Project](/maintainers/sonata-project)[@sonata-project](https://github.com/sonata-project)

---

Top Contributors

[![SonataCI](https://avatars.githubusercontent.com/u/12843093?v=4)](https://github.com/SonataCI "SonataCI (505 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (84 commits)")[![rande](https://avatars.githubusercontent.com/u/14672?v=4)](https://github.com/rande "rande (59 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (57 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (54 commits)")[![jordisala1991](https://avatars.githubusercontent.com/u/1137485?v=4)](https://github.com/jordisala1991 "jordisala1991 (29 commits)")[![core23](https://avatars.githubusercontent.com/u/3440437?v=4)](https://github.com/core23 "core23 (20 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (18 commits)")[![franmomu](https://avatars.githubusercontent.com/u/720690?v=4)](https://github.com/franmomu "franmomu (13 commits)")[![kunicmarko20](https://avatars.githubusercontent.com/u/13528674?v=4)](https://github.com/kunicmarko20 "kunicmarko20 (10 commits)")[![phansys](https://avatars.githubusercontent.com/u/1231441?v=4)](https://github.com/phansys "phansys (7 commits)")[![pulzarraider](https://avatars.githubusercontent.com/u/960844?v=4)](https://github.com/pulzarraider "pulzarraider (6 commits)")[![pokap](https://avatars.githubusercontent.com/u/1533593?v=4)](https://github.com/pokap "pokap (5 commits)")[![mremi](https://avatars.githubusercontent.com/u/548536?v=4)](https://github.com/mremi "mremi (3 commits)")[![lerouquin](https://avatars.githubusercontent.com/u/893794?v=4)](https://github.com/lerouquin "lerouquin (3 commits)")[![dmaicher](https://avatars.githubusercontent.com/u/921145?v=4)](https://github.com/dmaicher "dmaicher (3 commits)")[![vincenttouzet](https://avatars.githubusercontent.com/u/2057992?v=4)](https://github.com/vincenttouzet "vincenttouzet (3 commits)")[![chEbba](https://avatars.githubusercontent.com/u/558042?v=4)](https://github.com/chEbba "chEbba (3 commits)")[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (2 commits)")[![gregbiv](https://avatars.githubusercontent.com/u/2491984?v=4)](https://github.com/gregbiv "gregbiv (2 commits)")

---

Tags

bundleclientcsvdataexportphpsonatasymfonysymfony-bundlexlsxlsxclientbundledataexportxlsxlsxcsvSymfony Bundle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sonata-project-exporter/health.svg)

```
[![Health](https://phpackages.com/badges/sonata-project-exporter/health.svg)](https://phpackages.com/packages/sonata-project-exporter)
```

###  Alternatives

[kartik-v/yii2-export

A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)

1623.1M35](/packages/kartik-v-yii2-export)[avadim/fast-excel-writer

Lightweight and very fast XLSX Excel Spreadsheet Writer in PHP

2951.2M7](/packages/avadim-fast-excel-writer)[jianyan74/php-excel

php excel 导入导出

5842.2k4](/packages/jianyan74-php-excel)[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)[seine/seine

Seine - Write spreadsheets of various formats to a stream

1270.3k](/packages/seine-seine)[nilgems/laravel-textract

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

195.2k](/packages/nilgems-laravel-textract)

PHPackages © 2026

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