Download the PHP package aspose/aspose-html-cloud-php without Composer

On this page you can find all versions of the php package aspose/aspose-html-cloud-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package aspose-html-cloud-php

Aspose HTML Cloud SDK

This repository contains Aspose.HTML Cloud SDK source code. This SDK allows you to work with Aspose.HTML Cloud REST APIs in your applications quickly and easily.

See API Reference for full API specification.

How to use the SDK?

The complete source code is available in this repository folder, you can either directly use it in your project.

Requirements

PHP 5.6 and later

Prerequisites

To use Aspose HTML for Cloud SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Example:
Pass configuration to constructor (see in tests - BaseTest.php)

Note: do not forget to add in php.ini

Tests

To run the unit tests:

Please follow the installation procedure and then run the following:

Documentation for API Endpoints

All URIs are relative to https://api.aspose.cloud/v4.0

Possible conversions:

HTML API

Class Method Description
HtmlApi convertLocalToLocal Convert a document from the local file to the local file.
HtmlApi convertLocalToStorage Convert a document from the local file to the storage.
HtmlApi convertStorageToLocal Convert a document from the storage to the local file.
HtmlApi convertStorageToStorage Convert a document from the storage to the storage.
HtmlApi convertUrlToLocal Convert the website and saving result to the local file.
HtmlApi convertUrlToStorage Convert the website and saving result to the storage.
HtmlApi convert General function for conversion.
HtmlApi vectorizeLocalToLocal Vectorize an image from the local file to the local file.
HtmlApi vectorizeLocalToStorage Vectorize an image from the local file to the storage.
HtmlApi vectorizeStorageToLocal Vectorize an image from the storage to the local file.
HtmlApi vectorizeStorageToStorage Vectorize an image from the storage to the storage.
HtmlApi vectorize General function for vectorization.

conversionOptions

Options Description
PDFOptions Convert to the PDF format.
ImageOptions Convert to images (JPEG, PNG, GIF, TIFF, BMP).
XPSOptions Convert to the XPS format.
DocOptions Convert to the DOCX format.
SvgOptions Trace images to the SVG format.
MarkdownOptions Convert the HTML document to the markdown format.

vectorizationOptions

Field Type Description Note
error_threshold float This parameter defines maximum deviation of points to fitted curve. By default it is 30. Optional
max_iterations int This parameter defines number of iteration for least-squares approximation method. By default it is 30. Optional
colors_limit int The maximum number of colors used to quantize an image. Default value is 25. Optional
line_width float The value of this parameter is affected by the graphics scale. Default value is 1. Optional

STORAGE API

Class Method Description
StorageApi deleteFile Delete file
StorageApi downloadFile Download file
StorageApi uploadFile Upload file
StorageApi createFolder Create the folder
StorageApi deleteFolder Delete folder
StorageApi getFilesList Get all files and folders within a folder
StorageApi getDiscUsage Get disc usage
StorageApi objectExists Check if file or folder exists
StorageApi storageExists Check if storage exists

Documentation For Models

Documentation For Authorization

oauth

Examples

Tests contain various examples of using the Aspose.HTML SDK.

Author

Aspose


All versions of aspose-html-cloud-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
aspose/storage-sdk-php Version *
kamermans/guzzle-oauth2-subscriber Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aspose/aspose-html-cloud-php contains the following files

Loading the files please wait ....