PHP Package: phpoffice/phpspreadsheet

PHPExcel successor, a robust PHP library for reading and writing spreadsheet files in PHP applications.

Current Version: 4.3.1
Last Updated: 2025-05-26
PHP Requirement: ^8.1
Dependencies: None

Package Description

PHPSpreadsheet is a powerful library that provides comprehensive support for reading and writing various spreadsheet file formats in PHP. It allows users to create complex spreadsheets with ease, including advanced features such as formatting, formulas, and charts. Its extensive documentation and active community support make it a top choice for PHP developers working with spreadsheet data.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.3.1

Download Download v4.3.1

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/phpoffice/phpspreadsheet/4.3.1/loader.php';
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Worksheet;

$obj = new Spreadsheet();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.