Download the PHP package cloudpdf/api without Composer

On this page you can find all versions of the php package cloudpdf/api. 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 api

CloudPDF PHP

PHP wrapper for the CloudPDF API - an cloud-based PDF management service.

Installation

Install the package with:

composer require cloudpdf/api

To use the bindings, load it via Autoload

Usage

Table of Contents

Authentication

Get the API key for your project from your CloudPDF Dashboard → Settings → API Keys.

Account Info

Return info about the Account associated with this API key.

Documents

Create a Document

Before you can upload a PDF to CloudPDF you must create a new document.

The server will return a pre-signed Amazon upload URL where you can upload your PDF file using a PUT request.

After uploading the file you must notify our server that the upload is finished and we will process the PDF by our PDF engine.

Options

Get a Document

Update a Document

Options

Delete a Document

Upload file

After you create a document you will receive an Amazon signed URL where you can upload your PDF file using a PUT request. We suggest to upload the file directly from the clients browser to spare your server load. Below you find an example using axios in typescript.

When the file upload is finished you must notify our server.

Upload file completed

After uploading your file to Amazon S3 you must notify our server on this endpoint that the upload is complete. On a successful request the status of the document will change from "WaitingUpload" to "Processing".

You can poll the use a webhook to find out if your document has completed processing by our PDF engine.

Get a file

Webhooks

Webhooks are used to notify your system of specific CloudPDF events.

Create a Webhook

Options

Get a Webhook

Update a Webhook

Options

Delete a Webhook

List all Webhooks

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cloudpdf-io/cloudpdf-php.

License

The repository is available as open source under the terms of the MIT License.


All versions of api with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-curl Version *
firebase/php-jwt Version >=5.0.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 cloudpdf/api contains the following files

Loading the files please wait ....