Skip to content

Commit 3c8ea76

Browse files
committed
Aspose.Cells Cloud SDK 19.9 - September 2019
We are pleased to announce the release of Aspose.Cells Cloud SDK 19.9 with the following improvements. Enhancement for constructor. Enhancement for CellsApi class integrate multiple controllers the APIs. Support to storage APIs.
1 parent 8f4fca7 commit 3c8ea76

File tree

326 files changed

+90771
-81652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

326 files changed

+90771
-81652
lines changed

.idea/workspace.xml

Lines changed: 441 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 86 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,113 @@
1-
# Aspose.Cells Cloud SDK for PHP
1+
# Aspose.Cells Cloud SDK for PHP [![NuGet](https://img.shields.io/nuget/v/Aspose.Cells-Cloud.svg)](https://www.nuget.org/packages/Aspose.Cells-Cloud/)
2+
3+
- API version: 3.0
4+
- SDK version: 19.9
5+
26
This repository contains Aspose.Cells Cloud SDK for PHP source code. This SDK allows you to work with Aspose.Cells Cloud REST APIs in your PHP applications quickly and easily, with zero initial cost.
37

4-
## Key Features
5-
* Convert spreadsheets to different formats
6-
* Create spreadsheets from templates, XML or smart markers
7-
* Split spreadsheets to single worksheet spreadsheets
8-
* Manipulate rows, columns, cells & data
9-
* Set complex formulae
10-
* Extract charts, pictures, shapes & other objects as images
11-
* Export worksheets to images
8+
9+
10+
# Key Features
11+
12+
- Conversion between various document-related formats (20+ formats supported), including PDF<->Excel conversion
13+
14+
- Splitting Excel documents
15+
16+
- Accessing Excel document metadata and statistics
17+
18+
- Find and replace
19+
20+
- Watermarks and protection
21+
22+
- Full read & write access to Cells Object Model, including workbook, worksheet, cell, shapes, tables, list object ,ole Object,headers/footers and many others
23+
24+
1225

1326
See [API Reference](https://apireference.aspose.cloud/cells/) for full API specification.
1427

15-
## How to use the SDK?
16-
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Packagist distribution](https://packagist.org/packages/aspose/cells-sdk-php) (recommended).
28+
29+
30+
# Storage API support
31+
32+
#### Since version 19.9 SDK includes support of storage operations for better user experience and unification, so now there's no need to use 2 different SDKs!
33+
34+
It gives you an ability to:
35+
36+
- Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default)
37+
- Create, copy, move and delete folders
38+
- Copy and move files and folders accross separate storages in scope of a single operation
39+
- Check if certain file, folder or storage exists
40+
41+
# Licensing
42+
43+
All Aspose.Cells Cloud SDKs are licensed under [MIT License](https://github.com/aspose-cells-cloud/aspose-cells-cloud-php/blob/master/LICENSE).
44+
45+
46+
47+
# How to use the SDK?
48+
49+
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Packagist distribution](https://packagist.org/packages/aspose/cells-sdk-php) (recommended). For more details, please visit our [documentation website](https://docs.aspose.cloud/display/cellscloud/Available+SDKs).
50+
51+
1752

1853
### Prerequisites
1954

20-
To use Aspose Cells for Cloud PHP SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
55+
56+
57+
To use Aspose Cells Cloud SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
58+
59+
2160

2261
### Installation
2362

2463
#### Via Composer:
25-
*cells-sdk-php* is available on Packagist as the
26-
[`cells-sdk-php`](https://packagist.org/packages/aspose/cells-sdk-php) package. Run the following command:
27-
```bash
64+
65+
*cells-sdk-php* is available on Packagist as the [`cells-sdk-php`](https://packagist.org/packages/aspose/cells-sdk-php) package. Run the following command:
66+
67+
```
2868
composer require aspose/cells-sdk-php
2969
```
3070

3171
To use the SDK, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):
3272

33-
```php
73+
```
3474
require_once('vendor/autoload.php');
3575
```
3676

77+
78+
3779
### Sample usage
3880

39-
```php
40-
namespace Aspose\Cells\Cloud;
41-
42-
require_once('vendor\autoload.php');
43-
use Aspose\Cells\Cloud\Api\OAuthApi;
44-
use Aspose\Cells\Cloud\Api\CellsSaveAsApi;
45-
46-
$grantType = "client_credentials";
47-
$clientId = "your clientId";
48-
$clientSecret = "your clientSecret";
49-
$api = new OAuthApi();
50-
$config = $api->getConfig();
51-
$config->setHost('https://api.aspose.cloud');
52-
$accessTokenResponse = $api->oAuthPost($grantType, $clientId, $clientSecret);
53-
54-
$saveAsAPI = new CellsSaveAsApi();
55-
$config = $saveAsAPI->getConfig();
56-
$config->setAccessToken($accessTokenResponse->getAccessToken());
57-
58-
$name ='Book1.xlsx';
59-
$saveOptions = null;
60-
$newfilename = "newbook.xlsx";
61-
$isAutoFitRows= 'true';
62-
$isAutoFitColumns= 'true';
63-
$folder = "Temp";
64-
65-
$result = $saveAsAPI->cellsSaveAsPostDocumentSaveAs($name, $saveOptions, $newfilename,$isAutoFitRows, $isAutoFitColumns, $folder);
81+
82+
6683
```
84+
$saveAsAPI = new CellsApi("appsid","appkey");
85+
$name ='Book1.xlsx';
86+
$saveOptions = null;
87+
$newfilename = "newbook.xlsx";
88+
$isAutoFitRows= 'true';
89+
$isAutoFitColumns= 'true';
90+
$folder = "Temp";
91+
$result = $saveAsAPI->cellsSaveAsPostDocumentSaveAs($name, $saveOptions, $newfilename,$isAutoFitRows, $isAutoFitColumns,$folder);
92+
```
93+
94+
# Tests
95+
96+
[Tests](https://github.com/aspose-cells-cloud/aspose-cells-cloud-php/tree/master/test/Api) contain various examples of using the SDK.
97+
98+
99+
100+
# Contact Us
67101

68-
## Dependencies
69-
- PHP 5.6 or later
70-
- referenced packages (see [here](composer.json) for more details)
102+
Your feedback is very important to us. Please feel free to contact via
71103

72-
## Contact Us
73-
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.aspose.cloud/c/cells).
104+
- [**Free Support Forum**](https://forum.aspose.cloud/c/cells)
105+
- [**Paid Support Helpdesk**](https://helpdesk.aspose.cloud/)
74106

107+
# Resources
75108

109+
- [**Web API reference**](https://apireference.aspose.cloud/cells/)
110+
- [**Website**](https://www.aspose.cloud)
111+
- [**Product Home**](https://products.aspose.cloud/cells)
112+
- [**Documentation**](https://docs.aspose.cloud/display/cellscloud/Home)
113+
- [**Blog**](https://blog.aspose.cloud/category/cells/)

0 commit comments

Comments
 (0)