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

Excel Bundle Laravel Package

onurb/excel-bundle

Symfony bundle that integrates PHPExcel to read and write Excel spreadsheets, exposing the library as a service with helpers for controllers and templates. Simplifies importing data from and exporting data to XLS/XLSX files in Symfony applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Format-coverage scoping for reporting/export features. The bundle exposes one API surface over PhpSpreadsheet that covers XLSX, PDF and ODT read/write. If your roadmap includes "export to Excel" and "generate a PDF invoice," this is a useful benchmark for what a single integration should cover — and a reminder to define which formats are must-have vs. nice-to-have before committing engineering time.
  • Build vs. buy on the glue layer. The bundle is a thin Symfony DI wrapper around phpoffice/phpspreadsheet; the real capability lives in the upstream library. That tells you the actual decision is adopt the engine, decide how much wrapper you write — not "adopt this package." For a Laravel codebase, the realistic build is roughly a service provider + facade + config file over PhpSpreadsheet, on the order of a sprint, not a quarter.
  • Framework-fit triage. This is a Symfony Bundle, not a Laravel package — no service provider, no facade, config expressed as Symfony DI. Any Laravel-facing decision should route to maatwebsite/excel (which wraps PhpSpreadsheet with Blade views, Eloquent integration, and queue support) or to a direct PhpSpreadsheet integration. Documenting this early prevents a wasted spike.
  • Use-case validation for imports/exports. The read path supports finance/ops data ingestion (uploaded XLSX, CSV reconciliation) and the write path supports scheduled report delivery and document generation (PDF + spreadsheet companions to the same record). Both are common PM-level asks; this package covers both, which is a reasonable proof that no custom parser is needed.
  • Risk register input. 13 stars, 0 dependents, and a low opportunity signal mean you should plan for the wrapper to be yours to maintain, even if the engine underneath is healthy. That's a maintenance-cost line item on the roadmap, not a blocker.
  • Requirements checklist for whatever you do adopt. Useful capabilities demonstrated here that should appear in your acceptance criteria: format detection by file extension, a writer/reader factory, configurable temp/storage paths, and streamed vs. in-memory output for large files.

When to Consider This Package

Consider it when:

  • You are on Symfony and want reader/writer services wired into the container without writing the boilerplate yourself.
  • You need multiple output formats from one code path (spreadsheet plus PDF plus ODT) rather than a single-purpose exporter.
  • Your team is small and glue work is the bottleneck — the value here is configuration and DI, not features.
  • Your file sizes are modest. PhpSpreadsheet loads workbooks into memory; if your exports are large, plan for chunking or a different engine regardless of which wrapper you pick.
  • You can pin the version and own the upgrade path. With near-zero dependents, you are effectively the maintainer of last resort.

Look elsewhere when:

  • You are on Laravel. This is the wrong framework abstraction. Use maatwebsite/excel for Eloquent/Blade/queue integration, or integrate PhpSpreadsheet directly.
  • You need high-volume or streaming I/O. openspout (the maintained successor to Box/Spout) is the better fit for large CSV/XLSX streaming with flat memory.
  • You need pixel-accurate PDFs. Delegate to a dedicated renderer (Gotenberg, wkhtmltopdf, Dompdf) rather than spreadsheet-to-PDF conversion.
  • You require vendor SLA, security patching guarantees, or a supported release cadence. A 13-star, 0-dependent bundle cannot offer that; the upstream library can, but the wrapper is community-only.
  • Your team's PHP/Symfony version is newer than the bundle's tested matrix — verify compatibility before a spike, since an abandoned wrapper often fails on modern DI and PHP versions.

How to Pitch It (Stakeholders)

For executives: This is an MIT-licensed integration layer over a mature, widely used spreadsheet engine. It is not a strategic dependency and it is not on our roadmap as a standalone adoption — it appears here as a reference point. It confirms that Excel/PDF/ODT export and import is a solved commodity problem we can ship without bespoke parsing work. The practical recommendation is to standardize on the underlying engine plus our framework's idiomatic wrapper, which keeps the capability low-cost and low-risk. The package itself has minimal community traction (13 stars, zero downstream dependents), so we should not build a product bet on it.

For engineering: Treat this as a Symfony-only bundle — do not attempt to install it into a Laravel application. The valuable, durable component is phpoffice/phpspreadsheet; the bundle is DI configuration and a format-detection convenience. Recommended path: on Laravel, use maatwebsite/excel for Eloquent/queue-friendly exports and reach for openspout where memory or file size is a concern; on Symfony, evaluate this bundle or wire PhpSpreadsheet services directly. In both cases, budget for memory limits on large workbooks, define a temp-file/storage policy, and write the wrapper as our own code so we are not dependent on an unmaintained package for the glue. Validate PHP and framework version compatibility before any spike.

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