Download the PHP package docsdk/docsdk-php without Composer

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

DocSDK

English | 中文

About DocSDK

DocSDK is a development kit for smart file conversion. We support the conversion of various types of documents, including pdf, doc, docx, xls, xlsx, ppt, pptx, dwg, caj, svg, html, json, png, jpg, gif and other formats, more conversion formats can be viewed on our website. There are 8 kinds of SDK support, including Java, Node.js, PHP, Python, Swift, CLI, AWS-Lambda and Laravel.

Keywords: document conversion, file conversion, PDF to Word, PDF to PPT, PDF to HTML

docsdk-php

This is the official PHP SDK for the DocSDK API.

Install

To install the PHP SDK you will need to be using Composer in your project.

Install the SDK alongside Guzzle 7:

This package is not tied to any specific HTTP client. Instead, it uses Httplug to let users choose whichever HTTP client they want to use.

If you want to use Guzzle 6 instead, use:

Creating Jobs

Uploading Files

Uploads to DocSDK are done via import/upload tasks. This SDK offers a convenient upload method:

The upload() method accepts a string, PHP resource or PSR-7 StreamInterface as second parameter.

You can also directly allow clients to upload files to DocSDK:

Downloading Files

DocSDK can generate public URLs for using export/url tasks. You can use the PHP SDK to download the output files when the Job is finished.

The download() method returns a PSR-7 StreamInterface, which can be used as a PHP resource using detach().

Resources

关于 DocSDK

DocSDK 是一个在线文件转换的开发工具包。我们支持各类文档的转换,其中包括 pdf、doc、docx、xls、xlsx、ppt、pptx、dwg、caj、svg、html、json、png、jpg 和 gif 等等各种格式的转换,更多转换格式可查看网站 。现有八种 SDK 的支持,其中包括 Java、Node.js、PHP、Python、Swift、CLI、AWS-Lambda 和 Laravel。

关键词: 文档转换,文件转换,PDF转Word,PDF转PPT,PDF转HTML


All versions of docsdk-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
psr/http-message Version ^1.0
php-http/client-implementation Version ^1.0 || ^2.0
php-http/httplug Version ^1.0 || ^2.0
php-http/message-factory Version ^1.0
php-http/discovery Version ^1.0
symfony/options-resolver Version ^4.2 || ^5.0
netresearch/jsonmapper Version ^1.6
php-http/multipart-stream-builder Version ^1.0
php-http/client-common Version ^2.0
php-http/message Version ^1.7
guzzlehttp/psr7 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 docsdk/docsdk-php contains the following files

Loading the files please wait ....