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

Phpexcel Laravel Package

phpofficewetak/phpexcel

phpofficewetak/phpexcel is a PHP library for reading and writing Excel spreadsheet files, including XLS, XLSX, and CSV. It offers cell formatting, formulas, worksheet manipulation, and styles for legacy projects built on the PHPExcel API.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Spreadsheet export/ingest as a product feature — report generation (invoices, statements, exports), ops/admin bulk download, and data-import pipelines (XLSX/CSV ingestion). The PHPExcel lineage covers read/write for XLSX, XLS, CSV, ODS, plus styling, formulas, and charts, which maps to most "download as Excel" roadmap items.
  • Build vs. buy for document output — this is a zero-license-cost OSS option, so the real comparison is engineering time to build a writer vs. integration + maintenance cost of a dependency. The decision should be made on total cost of ownership, not sticker price.
  • Legacy-modernization sequencing — PHPExcel is the ancestor of PhpSpreadsheet and is the only realistic option if the product is pinned to PHP 5.x. Choosing it (or not) is really a decision about how long the legacy PHP runtime lives.
  • Risk posture on third-party code — the NOASSERTION license flag, single star, zero dependents, and 2020 last release make this a concrete input to a "no unvetted transitive dependencies" or "no abandoned packages" policy decision.
  • Where it does not help: it should not be used to justify a "we now have Excel support" roadmap pillar. This specific artifact is a poor foundation; the defensible decision it supports is "adopt PhpSpreadsheet, or scope spreadsheet output as a thin, swappable capability."

When to Consider This Package

Consider only if all of the following hold:

  • The product is locked to PHP 5.x (or otherwise cannot reach PHP 7.2+) and there is no path to PhpSpreadsheet.
  • Engineering has already abstracted spreadsheet I/O behind an interface, so the dependency can be replaced without touching feature code.
  • Legal has confirmed the license — NOASSERTION on a fork of LGPL-2.1 code is a real question, not a formality; without an answer, treat it as unlicensed and stop.
  • The workload is internal, low-blast-radius (ops exports), not customer-facing or security-sensitive (untrusted file parsing).
  • Engineering has verified the exact commit works on the target runtime; there will be no upstream fixes.

Look elsewhere in nearly every other case:

  • New builds, PHP 7.2+ → PhpSpreadsheet (maintained successor, same concepts, PHP 8 support). This is the default answer.
  • Need security patching or vendor support → nothing here; upstream PHPExcel was deprecated in 2017, and this fork shows no maintenance signal (1 star, 0 dependents, no release since 2020).
  • Parsing untrusted uploads → unmaintained parsers are an attack surface; prefer a maintained library or a managed conversion service.
  • License clarity required (enterprise procurement, redistribution, SaaS with indemnity) → NOASSERTION is disqualifying until resolved.
  • You need community answers → with zero dependents you are the only adopter; every bug is yours to find and fix.

How to Pitch It (Stakeholders)

For executives (one paragraph): "Excel import/export is a common, low-differentiation feature. There are free open-source libraries that do it, and this one traces back to PHPExcel, a widely used engine with a full feature set — styling, formulas, charts, multiple formats — at zero license cost. The catch is that this particular copy is an abandoned fork with an unclear license and no users or maintainers. My recommendation is not to standardize on it. For anything we plan to own for more than a year, we should use its maintained successor, PhpSpreadsheet, and budget a small amount of engineering time for the migration. If a legacy system truly can't move, we can use this as a short-term stopgap — but only behind an abstraction layer, with legal sign-off, and with an explicit expiry date."

For engineering: mature, familiar API (PHPExcel lineage) covering XLSX/XLS/CSV/ODS read and write, cell styling, formulas, and charts — fast to integrate. But: no upstream security patches, no PHP 8 support, no maintainer, no issue tracker signal, and a license that procurement will flag. Wrap it. Do not let it leak into domain code. Treat it as a temporary shim, not a platform choice.

The ask: approve PhpSpreadsheet as the standard for spreadsheet I/O; permit this fork only as a time-boxed exception for the legacy PHP 5.x tier, with an owner and a removal date.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings