PHPackages                             erelke/twig-spreadsheet-bundle - 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. [Templating &amp; Views](/categories/templating)
4. /
5. erelke/twig-spreadsheet-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

erelke/twig-spreadsheet-bundle
==============================

This Symfony bundle integrates PhpSpreadsheet into Symfony using Twig.

1.8(5y ago)242.3k↓45.8%8MITPHPPHP &gt;=7.1

Since Jun 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/erelke/TwigSpreadsheetBundle)[ Packagist](https://packagist.org/packages/erelke/twig-spreadsheet-bundle)[ Docs](https://github.com/erelke/TwigSpreadsheetBundle)[ RSS](/packages/erelke-twig-spreadsheet-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (7)Versions (15)Used By (0)

TwigSpreadsheetBundle
=====================

[](#twigspreadsheetbundle)

[![Teavis CI: Build Status](https://camo.githubusercontent.com/0045f754cfce7eb124336c870b848892f96e9b9664d4910dcae5c3286ace487b/68747470733a2f2f7472617669732d63692e6f72672f6572656c6b652f54776967537072656164736865657442756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/erelke/TwigSpreadsheetBundle)[![Scrutinizer: Code Quality](https://camo.githubusercontent.com/8483728d32211c61384aa3fb4568ef5341683ce9adcf45889a150cbe84dec467/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6572656c6b652f54776967537072656164736865657442756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/erelke/TwigSpreadsheetBundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/fb6caf43b2cc82f312257e871ec8045579173dddd9001ac5f73eca5335ed3c87/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6572656c6b652f54776967537072656164736865657442756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/erelke/TwigSpreadsheetBundle/?branch=master)[![SensioLabsInsight: Code Quality](https://camo.githubusercontent.com/a8eda66997f0be6b9736b0f6177d214ac89160265d348a7df98d4bbd6436aba9/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36663164353437372d393637662d343735342d626239352d3530356231613530623731632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/6f1d5477-967f-4754-bb95-505b1a50b71c)

This Symfony bundle integrates PhpSpreadsheet into Symfony using Twig.

Features
--------

[](#features)

- Easy to use Twig integration including `macro` and `include` support
- Use existing spreadsheet files as templates. The easiest way to customize fonts, colors, etc.
- ...

Supported output formats
------------------------

[](#supported-output-formats)

The supported output formats are directly based on the capabilities of PhpSpreadsheet.

- Open Document Format/OASIS (.ods)
- Office Open XML (.xlsx) Excel 2007 and above
- BIFF 8 (.xls) Excel 97 and above
- CSV
- PDF (using mPDF, which need to be installed separately)

Software requirements
---------------------

[](#software-requirements)

The following software is required to use PhpSpreadsheet/TwigSpreadsheetBundle.

**Required by this bundle:**

- PHP 7.1 or newer
- Symfony 3.4 or newer

**Required by PhpSpreadsheet:**

- PHP extension php\_zip enabled
- PHP extension php\_xml enabled
- PHP extension php\_fileinfo enabled
- PHP extension php\_gd2 enabled (optional, but required for exact calculation of the column width)

Documentation
-------------

[](#documentation)

The source of the documentation is stored in the Resources/doc/ folder in this bundle:

[Resources/doc/index.rst](https://github.com/erelke/TwigSpreadsheetBundle/blob/master/src/Resources/doc/index.rst)

You can find a prettier version on readthedocs.org:

[https://twigspreadsheetbundle.readthedocs.org](https://twigspreadsheetbundle.readthedocs.org/)

Installation
------------

[](#installation)

All the installation instructions are located in the documentation.

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle:

[Resources/meta/LICENSE](https://github.com/erelke/TwigSpreadsheetBundle/blob/master/LICENSE)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 88.5% 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 ~85 days

Recently: every ~162 days

Total

13

Last Release

1955d ago

PHP version history (2 changes)1.0PHP &gt;=7.0

1.2.4PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f8920bc565a2f68507b6c0b24fb746af4802723c2a0a86151599b6df5958dd9?d=identicon)[erelke](/maintainers/erelke)

---

Top Contributors

[![MewesK](https://avatars.githubusercontent.com/u/1128271?v=4)](https://github.com/MewesK "MewesK (277 commits)")[![erelke](https://avatars.githubusercontent.com/u/30900475?v=4)](https://github.com/erelke "erelke (20 commits)")[![Gerben321](https://avatars.githubusercontent.com/u/24865452?v=4)](https://github.com/Gerben321 "Gerben321 (6 commits)")[![technetium](https://avatars.githubusercontent.com/u/1395591?v=4)](https://github.com/technetium "technetium (2 commits)")[![fdicioccio](https://avatars.githubusercontent.com/u/3645606?v=4)](https://github.com/fdicioccio "fdicioccio (1 commits)")[![guiyomh](https://avatars.githubusercontent.com/u/363162?v=4)](https://github.com/guiyomh "guiyomh (1 commits)")[![malheirosrafa](https://avatars.githubusercontent.com/u/1307312?v=4)](https://github.com/malheirosrafa "malheirosrafa (1 commits)")[![aserratorta](https://avatars.githubusercontent.com/u/12971681?v=4)](https://github.com/aserratorta "aserratorta (1 commits)")[![tikoflano](https://avatars.githubusercontent.com/u/6231202?v=4)](https://github.com/tikoflano "tikoflano (1 commits)")[![chebbix](https://avatars.githubusercontent.com/u/3942104?v=4)](https://github.com/chebbix "chebbix (1 commits)")[![darookee](https://avatars.githubusercontent.com/u/104579?v=4)](https://github.com/darookee "darookee (1 commits)")[![davidromani](https://avatars.githubusercontent.com/u/698779?v=4)](https://github.com/davidromani "davidromani (1 commits)")

---

Tags

symfonytwigexcelspreadsheetPHPExcelphpspreadsheet

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/erelke-twig-spreadsheet-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/erelke-twig-spreadsheet-bundle/health.svg)](https://phpackages.com/packages/erelke-twig-spreadsheet-bundle)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[symfony/ux-twig-component

Twig components for Symfony

22020.2M440](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1657.5M153](/packages/symfony-ux-live-component)[abydahana/aksara

Aksara is a modern, developer-friendly framework and CMS built on CodeIgniter 4, featuring rapid CRUD development, modular architecture, smart routing, flexible access control, API integration, and an AI assistant to make content management faster and smarter.

1141.2k](/packages/abydahana-aksara)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

273.1k](/packages/mati365-ckeditor5-symfony)

PHPackages © 2026

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