Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Spreadsheetbundle

Spreadsheetbundle Laravel Package

roromix/spreadsheetbundle

A Symfony bundle that integrates PHPExcel/PhpSpreadsheet into your application, letting you read, write, and export spreadsheet files such as Excel, OpenDocument, and CSV through simple, service-based APIs.

View on GitHub
Deep Wiki
Context7

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

Frequently asked questions about Spreadsheetbundle
What is roromix/spreadsheetbundle used for?
It is a Symfony bundle that integrates PhpSpreadsheet to read, write, and export spreadsheet files through a service-oriented API. It supports template-based exports, multiple writers such as XLSX, CSV, PDF, and HTML, and configurable readers for imports. It is aimed at reports, invoices, and data imports in Symfony applications.
Is roromix/spreadsheetbundle a Laravel package or a Symfony bundle?
It is a Symfony bundle, not a Laravel-native package. Laravel 11 and 12 use Symfony 7 components, so the platform constraints may overlap, but no Laravel service provider, auto-discovery, or Laravel support matrix is described. For Laravel-native spreadsheet work, evaluate Laravel Excel or using PhpSpreadsheet directly.
How do I install roromix/spreadsheetbundle with Composer?
Install it with composer require roromix/spreadsheetbundle. In Symfony, register the bundle and configure its services according to the package documentation. In Laravel, do not assume package auto-discovery or bundle registration; verify manual container wiring before adopting it.
Which Laravel versions are compatible with roromix/spreadsheetbundle v3?
The supplied context does not include an explicit Laravel support matrix. v3.0.0 requires PHP 8.2 or newer and Symfony ~7.1, so Laravel 11/12-era applications may satisfy the underlying Symfony constraint, while Laravel 10 and earlier are excluded. Test resolution and runtime behavior in your own application and confirm support with the maintainer.
What PHP and Symfony versions does roromix/spreadsheetbundle v3.0.0 require?
The assessment states PHP >=8.2 and Symfony ~7.1. The ~7.1 constraint means at least 7.1.0 and below 8.0.0, so Symfony 6.x is excluded. Applications on PHP 8.1 cannot install v3.0.0 at all.
How do I export an Excel file from a template with named ranges or placeholders?
The bundle is designed to populate pre-formatted .xlsx templates using named ranges and placeholders, then export through a writer service. Keep template paths, formatters, and writer configuration in Symfony service configuration rather than in controllers. Check the package documentation for the exact service names and template syntax.
Can I export the same spreadsheet to XLSX, CSV, PDF, and HTML?
Yes, the bundle describes multiple writers for XLSX, CSV, PDF, and HTML from the same source definition. You can choose or swap the writer service without rewriting the spreadsheet-building logic. Confirm required PDF dependencies and writer-specific configuration in your environment.
How do I read uploaded spreadsheets into arrays or objects?
The bundle provides flexible readers that parse uploaded spreadsheets into arrays or objects with configurable mapping. Configure the mapping in the Symfony service configuration so controller code stays thin. Validate uploaded file types and sizes before parsing, and test mapping against representative files.
Can I replace the default readers or writers or add custom formatters?
Yes, the architecture is described as extensible: you can swap writers and readers or plug in custom formatters without touching controllers. Register custom services through Symfony dependency injection and override the relevant bundle services. Verify service IDs and extension points against the package source for your version.
Is v3.0.0 production-safe, and what should I verify before upgrading?
The v3.0.0 notes reportedly only narrow PHP and Symfony platform support, with no functional or API-level breaking changes disclosed. However, the changelog is thin, so review the diff and any upgrade guide before production use. Also confirm the v2 support and security-patch policy, and upgrade PHP, Laravel/Symfony, and the package in separate steps.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console