- Is liuggiowetak/excelbundle a Laravel package or a Symfony bundle?
- Despite Laravel-oriented positioning, the code is a Symfony2 bundle: it ships a Bundle subclass, a DI extension, and service definitions registered through Symfony's kernel. Laravel has no bundle registrar, so it will not auto-register the way a Laravel package service provider would. You would have to hand-wire its services or bypass most of what it provides.
- Does ExcelBundle support Laravel 9, 10, or 11?
- There is no documented Laravel version support. The package's integration model targets Symfony, and its symfony/framework-bundle constraint has historically conflicted with the Symfony components Laravel 9+ pins. Even if v3.0.1 widened that constraint, the bundle still cannot be registered in a Laravel kernel without custom wiring.
- How do I install liuggiowetak/excelbundle with Composer?
- You would normally run composer require liuggiowetak/excelbundle, but installation may fail if its symfony/framework-bundle constraint does not overlap with the Symfony components your Laravel version pins. Check the package's composer.json directly for the declared Symfony and PHP versions before attempting it. Also review the 3.0.x release carefully because no changelog or migration guide is provided.
- What Excel and CSV operations does ExcelBundle provide?
- It is a thin wrapper around PHPExcel for loading workbooks, selecting sheets, configuring writers, and producing streamed download responses. The description also advertises simple import and export helpers, model-friendly row mapping, and customizable headers and output options. Those conveniences are small enough to reproduce on a maintained library.
- Can ExcelBundle import spreadsheet rows into Eloquent models?
- The package description advertises model-friendly imports for mapping rows to Eloquent records, but that is part of its thin wrapper surface rather than deep Laravel integration. Because it is a Symfony bundle, you would need to invoke its services manually from a Laravel service provider or command. For production Eloquent imports, a Laravel-native package is a safer fit.
- Is PHPExcel still maintained, and does that make ExcelBundle risky for production?
- PHPExcel was abandoned in 2017 and formally deprecated in favor of PhpSpreadsheet. ExcelBundle's Symfony-constraint release does not indicate PHP 8.x support, dynamic-property fixes, or modernization of deprecated code paths. That leaves an end-of-life dependency chain and high technical risk for production use.
- What is new in ExcelBundle 3.0.1 and are there breaking changes?
- The release note only says it supports Symfony versions, with no changelog, no listed Symfony versions, no migration guidance, and no linked diff. A major version bump on top of a fork tag implies possible breaking changes but gives consumers no way to assess them. Read composer.json and the diff directly rather than relying on the release note.
- How do I export a downloadable Excel or CSV file with ExcelBundle?
- The intended flow is to load or create a workbook through the package's PHPExcel-based helpers, configure the worksheet and writer, then return a streamed download response. In Laravel you would have to wire those services yourself and adapt the Symfony-style response to Laravel's response API. A maintained Laravel Excel package would handle this with less glue code.
- How should I test ExcelBundle imports and exports in a Laravel app?
- Because the package is not a native Laravel service provider, tests need to bootstrap its Symfony-style services manually or wrap them in your own app service classes. Use small fixture spreadsheets, assert the mapped rows and generated output, and check memory usage early if you process larger files. Keep the wrapper thin so you can swap the underlying library later without rewriting tests.
- What are the best alternatives to ExcelBundle for Laravel?
- Laravel developers typically use a maintained Laravel Excel package or PhpSpreadsheet directly for workbook manipulation. If you need CSV-only import and export, the League CSV package plus a small service class covers most admin-panel and reporting needs. The recoverable value in ExcelBundle is only its thin wrapper, which is a few days of work to reproduce on a supported library.