Search by

aspose / cells-sdk-php

AsposeCloudmasood-anwerimranwarsaudaspose

Aspose.Cells Cloud SDK for PHP (generated from aspose.cells.cloud.specification.json)

26.11 2026-11-28 10:11 UTC

README

Product Page Documentation API Ref Examples Blog Support Packagist PHP Version Support Packagist Downloads License PHP GitHub commits since latest release (by date)

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:

  1. Sign up for an account at Aspose for Cloud to obtain your application details.

  2. 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.json file:
    {
      "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.
  3. 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. √
PDF 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.

Go Go Java Java .NET .NET Node.js Node.js Perl Perl PHP PHP Python Python Ruby Ruby

Release History