aspose / cells-sdk-php
Aspose.Cells Cloud SDK for PHP (generated from aspose.cells.cloud.specification.json)
Requires
- php: >=8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 26.11
- 26.10.1
- 26.10
- 26.9
- 26.8
- 26.7
- 26.6
- 26.5
- 26.4
- 26.3.1
- 26.2
- 26.1.1
- 26.1
- 25.12
- 25.11
- 25.10
- 25.9
- 25.8
- 25.7
- 25.6
- 25.5.1
- 25.5
- 25.4
- 25.3
- 25.2
- 25.1
- 24.12
- 24.11
- 24.10
- 24.9
- 24.8
- 24.7
- 24.6
- 24.5.1
- 24.4
- 24.3.0
- 24.2.1
- 24.1.1
- 23.12
- 23.11
- 23.10
- 23.9
- 23.8
- 23.7
- 23.6
- 23.5
- 23.4
- 22.12
- 22.11
- 22.10
- 22.9
- 22.8
- 22.7
- 22.6.1
- 22.6
- 22.5
- 22.4
- 22.3
- 22.2
- 22.1
- 21.12
- 21.11
- 21.10
- 21.9
- 21.8
- 21.7
- 21.6
- 21.5
- 21.1
- 20.11.1
- 20.11
- 20.10
- 20.9
- 20.8
- 20.7
- 20.6
- 20.4
- 20.2
- 20.1
- 19.10
- 19.9
- 19.6
- 19.2.1
- 19.2
- 18.9.1
- 18.9
- 18.8
- 18.5
- dev-new-model-dev
This package is auto-updated.
Last update: 2026-11-28 13:47:47 UTC
README
Aspose.Cells Cloud SDK for PHP is a cloud-native REST API that enables PHP developers to create, read, edit, convert, and repair spreadsheet files — including Excel (XLS, XLSX, XLSB, XLSM), OpenDocument Spreadsheet (ODS), CSV, TSV, JSON, HTML, PDF, and more — all without requiring Microsoft Excel or Office to be installed.
Built on the Aspose.Cells Cloud Web API, this MIT-licensed SDK supports advanced spreadsheet operations such as:
- Cell formatting, formulas, and data validation
- Pivot tables, charts, hyperlinks, and comments
- Conditional formatting and smart markers
- Worksheet merging, splitting, and protection
- Batch processing and background removal
It seamlessly integrates with AWS, Microsoft Azure, and Google Cloud, ensuring high availability, scalability, and data integrity. Ideal for serverless apps, microservices, and cloud automation workflows.
Starting with version v26.11.0, the Aspose.Cells Cloud SDK adopts a new model.
Quick Start Guide
To begin with Aspose.Cells Cloud, here's what you need to do:
-
Sign up for an account at Aspose for Cloud to obtain your application details.
-
Install the Aspose.Cells Cloud PHP Package from Packagist.
To install Aspose.Cells Cloud via Composer, follow these steps:
- Add Aspose.Cells Cloud as a dependency to your
composer.jsonfile:
{ "require": { "aspose/cells-cloud": "^26.11" } }- Run Composer to install Aspose.Cells Cloud SDK:
composer install
- Include Composer's autoloader in your PHP code:
require 'vendor/autoload.php';
- You're now ready to use Aspose.Cells Cloud in your PHP project.
- Add Aspose.Cells Cloud as a dependency to your
-
Use the conversion code provided below as a reference to add or modify your application.
Convert an Excel File Using PHP
<?php use Aspose\Cells\Cloud\Converter\Converter; use Aspose\Cells\Cloud\Converter\Formats; use Aspose\Cells\Cloud\DataSource\FilePathSink; use Aspose\Cells\Cloud\DataSource\FilePathSource; run_example(function () { $client = new \Aspose\Cells\Cloud\Api\AsposeCellsCloudApi( getenv('CellsCloudClientId'), getenv('CellsCloudClientSecret'), 'v4.0', getenv('CellsCloudApiBaseUrl') ); $output = output_path('EmployeeSalesSummary.pdf'); Converter::convert( $client, new FilePathSource(data_path('EmployeeSalesSummary.xlsx')), new FilePathSink($output), Formats::PDF ); echo "Converted EmployeeSalesSummary.xlsx to {$output}\n"; });
Supported File Formats
| Format | Description | Load | Save |
|---|---|---|---|
| XLS | Excel 95/5.0 - 2003 Workbook. | √ | √ |
| XLSX | Office Open XML SpreadsheetML Workbook or template file, with or without macros. | √ | √ |
| XLSB | Excel Binary Workbook. | √ | √ |
| XLSM | Excel Macro-Enabled Workbook. | √ | √ |
| XLT | Excel 97 - Excel 2003 Template. | √ | √ |
| XLTX | Excel Template. | √ | √ |
| XLTM | Excel Macro-Enabled Template. | √ | √ |
| XLAM | An Excel Macro-Enabled Add-In file that is used to add new functions to Excel. | √ | |
| CSV | CSV (Comma Separated Value) file. | √ | √ |
| TSV | TSV (Tab-separated values) file. | √ | √ |
| TXT | Delimited plain text file. | √ | √ |
| HTML | HTML format. | √ | √ |
| MHTML | MHTML file. | √ | √ |
| ODS | ODS (OpenDocument Spreadsheet). | √ | √ |
| Numbers | The document is created by Apple's "Numbers" application which forms part of Apple's iWork office suite, a set of applications which run on the Mac OS X and iOS operating systems. | √ | |
| JSON | JavaScript Object Notation | √ | √ |
| DIF | Data Interchange Format. | √ | |
| Adobe Portable Document Format. | √ | ||
| XPS | XML Paper Specification Format. | √ | |
| SVG | Scalable Vector Graphics Format. | √ | |
| TIFF | Tagged Image File Format | √ | |
| PNG | Portable Network Graphics Format | √ | |
| BMP | Bitmap Image Format | √ | |
| EMF | Enhanced Metafile Format | √ | |
| JPEG | JPEG is a type of image format that is saved using the method of lossy compression. | √ | |
| GIF | Graphical Interchange Format | √ | |
| MARKDOWN | Represents a markdown document. | √ | |
| SXC | An XML based format used by OpenOffice and StarOffice | √ | √ |
| FODS | This is an Open Document format stored as flat XML. | √ | √ |
| DOCX | A well-known format for Microsoft Word documents that is a combination of XML and binary files. | √ | |
| PPTX | The PPTX format is based on the Microsoft PowerPoint open XML presentation file format. | √ | |
| OTS | OTS (OpenDocument Spreadsheet). | √ | √ |
| XML | XML file. | √ | √ |
| HTM | HTM file. | √ | √ |
| TIF | Tagged Image File Format | √ | |
| WMF | WMF Image Format | √ | |
| PCL | Printer Command Language Format | √ | |
| AZW3 | AZW3/KF8 File Format | √ | |
| EPUB | EPUB File Format | √ | |
| DBF | DBF File Format | √ | |
| XHTML | XHTML File Format | √ |
Developer Reference
Manipulate Excel and Other Spreadsheet Files in the Cloud
- File Manipulation — Upload, download, delete, and manage Excel files stored in the cloud.
- Formatting — Supports formatting of cells, fonts, colors, and alignment modes in Excel files to cater to users' specific requirements.
- Data Processing — Powerful functions for data processing including reading, writing, modifying cell data, performing formula calculations, and formatting data.
- Formula Calculation — Built-in formula engine handles complex formula calculations in Excel and returns accurate results.
- Chart Manipulation — Create, edit, and delete charts from Excel files for data analysis and visualization needs.
- Table Processing — Robust processing capabilities for various form operations such as creation, editing, formatting, and conversion, meeting diverse form processing needs.
- Data Verification — Includes data verification function to set cell data type, range, uniqueness, ensuring data accuracy and integrity.
- Batch Processing — Supports batch processing of multiple Excel documents, such as batch format conversion, data extraction, and style application.
- Import/Export — Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
- Security Management — Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
Features & Enhancements in Version v26.11
| ID | Summary | Category |
|---|---|---|
| CELLSCLOUD-14291 | Single-property delete returns 200 and removes nothing | Bug |
| CELLSCLOUD-14292 | htmlstring has no request body in the spec | Bug |
| CELLSCLOUD-14293 | Secondary-axis routes answer 200 but the value read back is not the one sent | Bug |
| CELLSCLOUD-14294 | A string auto-filter is saved as the literal text Aspose.Cells.FilterValue | Bug |
| CELLSCLOUD-14307 | Support converting worksheet page | New Feature |
| CELLSCLOUD-14326 | Improve SmartMarkerTemplate API in Aspose.Cells Cloud | Improvement |
| CELLSCLOUD-14327 | Add new feature: support generate report | New Feature |
Available SDKs
The Aspose.Cells Cloud SDK is available in multiple popular programming languages, enabling developers to integrate spreadsheet processing capabilities across various development environments.