Skip to content

Latest commit

 

History

History
140 lines (106 loc) · 10.3 KB

README.md

File metadata and controls

140 lines (106 loc) · 10.3 KB

Packagist Version Packagist PHP Version Support Packagist Downloads GitHub license GitHub commits since latest release (by date)

Aspose.Cells Cloud for PHP enables you to handle various aspects of Excel files, including cell data, styles, formulas, charts, pivot tables, data validation, comments, drawing objects, images, hyperlinks, and so on. Additionally, it supports operations such as splitting, merging, repairing, and converting to other compatible file formats.

PHP package for Aspose.Cells Cloud

Enhance your PHP applications with the Aspose.Cells Cloud , enabling seamless integration with Excel, ODS, CSV, Json and other spreadsheet document formats. With its powerful APIs, developers can effortlessly read, convert, create, edit, and manipulate the contents of Excel documents without the need for any office software installed on the machine.

Manipulate Excel and other spreadsheet files in the Cloud

  • File Manipulation: Users can 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: Users can create, edit, and delete charts from Excel files for data analysis and visualization needs.
  • Table Processing: Offers 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.

Feature & Enhancements in Version 24.12

Full list of issues covering all changes in this release:

  • Add the new remove duplicates api.
  • Add the new extract text API.
  • The pivot filter could not be created successfully.

Support file format

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's used to add new functions to Excel.  
CSV CSV (Comma Separated Value) file.
TSV TSV (Tab-separated values) file.
TabDelimited Tab-delimited text file, same with TSV file.
TXT Delimited plain text file.
HTML HTML format.
MHTML MHTML file.
ODS ODS (OpenDocument Spreadsheet).
SpreadsheetML Excel 2003 XML file.
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.

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": "^24.3"
        }
    }
    • Run Composer update to install the SDK:
    composer update
    • 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
require_once('vendor\autoload.php');
use \Aspose\Cells\Cloud\Api\CellsApi;
use \Aspose\Cells\Cloud\Request\PutConvertWorkbookRequest;

$cellsApi = new CellsApi(getenv("CellsCloudClientId"),getenv("CellsCloudClientSecret"),"v3.0",getenv("CellsCloudApiBaseUrl"));

$remoteFolder = "TestData/In";

$localName = "Book1.xlsx";
$remoteName = "Book1.xlsx";

$format = "csv";

$mapFiles = array ();
$mapFiles[$localName] = CellsApiTestBase::getfullfilename($localName);
CellsApiTestBase::ready(  $this->instance,$localName ,$remoteFolder . "/" . $remoteName ,  "");

$request = new PutConvertWorkbookRequest();
$request->setFile( $mapFiles);
$request->setFormat( $format);
$$cellsApi->putConvertWorkbook($request);
?>

Aspose.Cells Cloud in Popular Languages

.NET Java Python Ruby Node.js Android Swift Perl GO
GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven PIP GEM NPM Maven POD CPAN GO

Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial