Skip to content

Commit fdc9812

Browse files
committed
Update README.md
1 parent 99fdf7e commit fdc9812

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

README.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,58 @@ Aspose.Cells Cloud SDK for PHP empowers developers to programmatically manage Ex
66

77
Enhance your PHP applications with the [Aspose.Cells Cloud](https://products.aspose.cloud/cells/php) , enabling seamless integration with [Excel, ODS, CSV, Json and other spreadsheet document formats](https://docs.aspose.cloud/cells/supported-file-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.
88

9+
10+
## Quick Start Guide
11+
12+
To begin with Aspose.Cells Cloud, here's what you need to do:
13+
14+
1. Sign up for an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) to obtain your application details.
15+
2. Install the Aspose.Cells Cloud PHP Package from [Packagist](https://packagist.org/packages/aspose/cells-sdk-php).
16+
17+
**To install Aspose.Cells Cloud via Composer, follow these steps:**
18+
19+
- Add Aspose.Cells Cloud as a dependency to your `composer.json` file:
20+
21+
```json
22+
{
23+
"require": {
24+
"aspose/cells-cloud": "^25.3"
25+
}
26+
}
27+
```
28+
29+
- Run Composer install Aspose.Cells Cloud SDK:
30+
31+
```bash
32+
composer install
33+
```
34+
35+
- Include Composer's autoloader in your PHP code:
36+
37+
```php
38+
require 'vendor/autoload.php';
39+
```
40+
41+
- You're now ready to use Aspose.Cells Cloud in your PHP project.
42+
43+
3. Use the conversion code provided below as a reference to add or modify your application.
44+
45+
## Convert an Excel File Using PHP
46+
47+
```php
48+
<?php
49+
require_once('vendor\autoload.php');
50+
use \Aspose\Cells\Cloud\Api\CellsApi;
51+
use \Aspose\Cells\Cloud\Request\PutConvertWorkbookRequest;
52+
53+
#get CellsCloudClientId from https://dashboard.aspose.cloud/#/applications
54+
#get CellsCloudClientSecret from https://dashboard.aspose.cloud/#/applications
55+
$cellsApi = new CellsApi(getenv("CellsCloudClientId"),getenv("CellsCloudClientSecret"));
56+
$response = $cellsApi->putConvertWorkbook(new PutConvertWorkbookRequest( 'EmployeeSalesSummary.xlsx', 'pdf'));
57+
copy($response->getPathname(),"EmployeeSalesSummary.pdf");
58+
59+
```
60+
961
## Manipulate Excel and other spreadsheet files in the Cloud
1062

1163
- File Manipulation: Users can upload, download, delete, and manage Excel files stored in the cloud.
@@ -66,58 +118,6 @@ Full list of issues covering all changes in this release:
66118
|[DOCX](https://docs.fileformat.com/word-processing/docx/)|A well-known format for Microsoft Word documents that is a combination of XML and binary files.||&radic;|
67119
|[PPTX](https://docs.fileformat.com/presentation/pptx/)|The PPTX format is based on the Microsoft PowerPoint open XML presentation file format.||&radic;|
68120

69-
## Quick Start Guide
70-
71-
To begin with Aspose.Cells Cloud, here's what you need to do:
72-
73-
1. Sign up for an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) to obtain your application details.
74-
2. Install the Aspose.Cells Cloud PHP Package from [Packagist](https://packagist.org/packages/aspose/cells-sdk-php).
75-
76-
**To install Aspose.Cells Cloud via Composer, follow these steps:**
77-
78-
- Add Aspose.Cells Cloud as a dependency to your `composer.json` file:
79-
80-
```json
81-
{
82-
"require": {
83-
"aspose/cells-cloud": "^25.3"
84-
}
85-
}
86-
```
87-
88-
- Run Composer install Aspose.Cells Cloud SDK:
89-
90-
```bash
91-
composer install
92-
```
93-
94-
- Include Composer's autoloader in your PHP code:
95-
96-
```php
97-
require 'vendor/autoload.php';
98-
```
99-
100-
- You're now ready to use Aspose.Cells Cloud in your PHP project.
101-
102-
3. Use the conversion code provided below as a reference to add or modify your application.
103-
104-
## Convert an Excel File Using PHP
105-
106-
```php
107-
<?php
108-
require_once('vendor\autoload.php');
109-
use \Aspose\Cells\Cloud\Api\CellsApi;
110-
use \Aspose\Cells\Cloud\Request\PutConvertWorkbookRequest;
111-
112-
$cellsApi = new CellsApi(getenv("CellsCloudClientId"),getenv("CellsCloudClientSecret"),"v3.0",getenv("CellsCloudApiBaseUrl"));
113-
$request = new PutConvertWorkbookRequest();
114-
$request->setFile( ['Book1.xlsx' => 'TestData/Book1.xlsx']);
115-
$request->setFormat("pdf");
116-
$response = $cellsApi->putConvertWorkbook($request);
117-
copy($response->getPathname(),"Book1.pdf");
118-
119-
```
120-
121121
## Aspose.Cells Cloud in Popular Languages
122122

123123
| .NET | Java | Python | Ruby | Node.js | Android | Swift | Perl | GO |

0 commit comments

Comments
 (0)