PHPackages                             aspose/cells - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. aspose/cells

ActiveLibrary[Database &amp; ORM](/categories/database)

aspose/cells
============

A powerful library for manipulating and converting Excel (XLS, XLSX, XLSB), ODS, CSV and HTML files.

26.4(2mo ago)33.3k↑73.3%1proprietaryPHPPHP &gt;=7.0

Since Apr 2Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/aspose-cells/Aspose.Cells-for-PHP-via-Java)[ Packagist](https://packagist.org/packages/aspose/cells)[ Docs](https://products.aspose.com/cells/php-java)[ RSS](/packages/aspose-cells/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)DependenciesVersions (47)Used By (0)

PHP Library for Excel File Formats
==================================

[](#php-library-for-excel-file-formats)

Aspose.Cells for PHP via Java is a feature-rich API to create, process, manipulate &amp; convert Excel &amp; OpenOffice spreadsheets using PHP. API offers Excel file generation, conversion, worksheets styling, Pivot Table &amp; chart management &amp; rendering, reliable formula calculation engine and much more - all without any dependency on Office Automation or Microsoft Excel®.

PHP Excel Library Features
--------------------------

[](#php-excel-library-features)

- Convert spreadsheets to different formats including PDF, XPS, images &amp; other Excel file formats.
- Generate Excel files via API or using templates.
- Create Pivot Tables, charts, sparklines &amp; conditional formatting rules on-the-fly.
- Refresh existing charts &amp; convert charts to images or PDF.
- Create &amp; manipulate comments &amp; hyperlinks.
- Set complex formulas &amp; calculate results via API.
- Set protection on workbooks, worksheets, cells, columns or rows.
- Create &amp; manipulate named ranges.
- Populate worksheets through Smart Markers.

Read &amp; Write Excel Files
----------------------------

[](#read--write-excel-files)

**Microsoft Excel:** XLS, XLSX, XLSB, XLTX, XLTM, XLSM, XML **OpenOffice:** ODS **Text:** CSV, Tab-Delimited, TXT, JSON **Web:** HTML, MHTML

Save Excel Files As
-------------------

[](#save-excel-files-as)

**Fixed Layout:** PDF, XPS **Images:** JPEG, PNG, BMP, SVG, TIFF, GIF, EMF **Text:** CSV, Tab-Delimited, JSON, SQL, XML

Getting Started with Aspose.Cells for PHP via Java
--------------------------------------------------

[](#getting-started-with-asposecells-for-php-via-java)

Aspose.Cells for PHP via Java consists of 2 individual parts, the script wrapper (aspose.cells.php) and Aspose.Cells for Java. These components communicate via PHP/Java Bridge whereas both require separate environments &amp; processes for execution.

### Prerequisites

[](#prerequisites)

1. JDK
2. PHP/Java Bridge
3. Web Server like Tomcat
4. PHP

### Installation

[](#installation)

1. Install Tomcat on any location such as `\java\apache-tomcat-9.0.24`.
2. Copy JavaBridge.war to `webapps` folder of Tomcat such as `\java\apache-tomcat-9.0.24\webapps`.
3. Copy aspose-cells-xx.x.jar, bcpkix-jdk15on-xxx.jar and bcprov-jdk15on-xxx.jar to `lib` folder such as `\java\apache-tomcat-9.0.24\lib`.
4. Run `\bin\startup.bat`, JavaBridge.war will be deployed to `\java\apache-tomcat-9.0.24\webapps\JavaBridge`.
5. Test  to ensure that PHP works fine.
6. Copy aspose.cells.php and example.php to `\java\apache-tomcat-9.0.24\webapps\JavaBridge`.
7. Open  or create your own PHP file as follows.

You will find the Jar and PHP library in `vendor/aspose/cells` folder.

### Create Excel XLSX File from Scratch using PHP

[](#create-excel-xlsx-file-from-scratch-using-php)

```

```

### Convert Excel XLSX File to PDF using PHP

[](#convert-excel-xlsx-file-to-pdf-using-php)

```

```

[Product Page](https://products.aspose.com/cells/php-java) | [Documentation](https://docs.aspose.com/cells/phpjava/) | [API Reference](https://apireference.aspose.com/cells/php) | [Code Examples](https://github.com/aspose-cells/Aspose.Cells-for-Java) | [Blog](https://blog.aspose.com/category/cells/) | [Free Support](https://forum.aspose.com/c/cells) | [Temporary License](https://purchase.aspose.com/temporary-license)

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance84

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 70.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~90 days

Total

46

Last Release

84d ago

Major Versions

21.12 → 22.12022-01-12

22.12 → 23.12023-01-11

23.12 → 24.12024-01-11

24.10 → 25.12025-01-17

25.10 → 26.12026-01-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32087729?v=4)[AsposeCloud](/maintainers/AsposeCloud)[@asposecloud](https://github.com/asposecloud)

![](https://avatars.githubusercontent.com/u/4221549?v=4)[Aspose](/maintainers/aspose)[@Aspose](https://github.com/Aspose)

---

Top Contributors

[![nickliuaspose](https://avatars.githubusercontent.com/u/74037786?v=4)](https://github.com/nickliuaspose "nickliuaspose (40 commits)")[![duojieyangaspose](https://avatars.githubusercontent.com/u/68002162?v=4)](https://github.com/duojieyangaspose "duojieyangaspose (7 commits)")[![babar-raza](https://avatars.githubusercontent.com/u/1225645?v=4)](https://github.com/babar-raza "babar-raza (6 commits)")[![saudaspose](https://avatars.githubusercontent.com/u/66734729?v=4)](https://github.com/saudaspose "saudaspose (3 commits)")[![farooqsheikhpk](https://avatars.githubusercontent.com/u/1773119?v=4)](https://github.com/farooqsheikhpk "farooqsheikhpk (1 commits)")

---

Tags

jsonpdfxmlconvertsqlhtmlexcelxlsxlsxcsvsvgmarkdowndocxOOXMLspreadsheetodsjpgnumberspptxxlsmXPSXLSBSpreadSheetMLExcel to PDFMHTML

### Embed Badge

![Health badge](/badges/aspose-cells/health.svg)

```
[![Health](https://phpackages.com/badges/aspose-cells/health.svg)](https://phpackages.com/packages/aspose-cells)
```

###  Alternatives

[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3856.2M31](/packages/gotenberg-gotenberg-php)[nilgems/laravel-textract

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

195.8k](/packages/nilgems-laravel-textract)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.2k70.2M242](/packages/openspout-openspout)[kartik-v/yii2-export

A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)

1693.3M36](/packages/kartik-v-yii2-export)[anourvalar/office

Generate documents from existing Excel &amp; Word templates | Export tables to Excel (Grids)

24095.2k](/packages/anourvalar-office)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
