recranet/twig-spreadsheet-bundle
Symfony bundle adding Twig functions and filters for working with spreadsheets, so templates can read, render, and export spreadsheet data without extra PHP glue. Lightweight integration for generating Excel or CSV output directly from Twig views.
Consider it when:
Look elsewhere when:
For executives: This is a low-cost, low-lock-in integration that lets us reuse Twig templates and Twig skills we already own instead of paying to convert them to Blade. The project is actively maintained — version 2.5 tracks Symfony 8 and current PHP — so it is not a dead-end dependency. The main cost is not licensing but sequencing: 2.5 raises the floor to PHP 8.2 and Twig 3.21, so adoption should be bundled with the platform upgrade we already need, not run as a separate initiative. The 2.5 changes are version-support drops and internal cleanup, not new API surface — nothing to re-architect.
For engineering: Treat 2.5 as a support-matrix release. There are no new features, so there is no upside to rushing it; the reason to move is to stay on the maintained branch and remain eligible for future Symfony 8 compatibility. Confirm your Laravel, PHP, Twig, and Symfony versions against the compatibility matrix, pin to 2.4.x if you are still on PHP 8.1 or Symfony 6.4/7.0–7.3, and plan the bump alongside your PHP 8.2 and Twig 3.21 upgrades so you carry one upgrade cycle, not three. Budget for the usual risk of a thin community adapter: single-maintainer concentration, and the possibility of gaps where Laravel-ecosystem packages assume Blade. If Twig adoption grows beyond a small surface area, revisit an internal fork or a contribution commitment.
How can I help you explore Laravel packages today?