Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
This package has been abandoned. Use phpoffice/phpspreadsheet instead.
Generated on May 4, 2024 via composer

phpoffice/phpexcel 1.8.2

PHPExcel - OpenXML - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
Package summary
Share
3
issues
1
high severity
meta
1
1
moderate severity
license
1
1
low severity
license
1
1
license
1
LGPL-2.1
Package created
23 Nov 2012
Version published
22 Nov 2018
Maintainers
3
Total deps
1
Direct deps
0
License
LGPL-2.1

Issues

3

1 high severity issue

high
via: phpoffice/phpexcel@1.8.2
Collapse
Expand

1 moderate severity issue

moderate
Recommendation: Validate that the package complies with your license policy
via: phpoffice/phpexcel@1.8.2
Collapse
Expand

1 low severity issue

low
via: phpoffice/phpexcel@1.8.2
Collapse
Expand

Licenses

GNU Lesser General Public License v2.1 only

Weakly Protective
OSI Approved
Deprecated
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
sublicense
Must
include-original
include-copyright
include-license
disclose-source
state-changes
include-notice
1 Packages, Including:
phpoffice/phpexcel@1.8.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
ⓘ This is a list of phpoffice/phpexcel 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does phpoffice/phpexcel do?

PHPExcel, a package developed by phpoffice, is a PHP library designed to read, create, and write Spreadsheet documents in PHP. It offers a comprehensive engine for working with Spreadsheet documents and data. Despite the power it affords, be aware that PHPExcel’s last version was released in 2015 and the project has been officially deprecated since 2017. Therefore, users are strongly advised to migrate to its direct successor, PhpSpreadsheet, or another alternative for handling excel or spreadsheet files with PHP.

How do you use phpoffice/phpexcel?

Utilizing PHPExcel is quite straightforward; however, as the project is no longer maintained, it's recommended to use PhpSpreadsheet or other alternatives. An example code snippet for reading an Excel file using PHPExcel would look as follows:

require 'PHPExcel/Classes/PHPExcel/IOFactory.php';
try {
    $objPHPExcel = PHPExcel_IOFactory::load('Your_Excel_File.xlsx');
} catch(Exception $e) {
    die('Error loading file: '.$e->getMessage());
}

Although this works for PHPExcel, check out PhpSpreadsheet for more current and maintained examples.

Where are the phpoffice/phpexcel docs?

Unfortunately, PHPExcel is no longer maintained, and detailed documentation may not be readily available or up-to-date. The old documentation and code examples would have been present in the source files in their GitHub repository, but it’s likely outdated. For a more contemporary, maintained, and feature-rich version, the phpoffice’s PhpSpreadsheet is advised, which has the updated and extensive documentation available on their GitHub page. The move to PhpSpreadsheet provides not only refined code but also a library that is continuously updated with security patches and performance improvements.