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.
Download docsdk/docsdk-php
More information about docsdk/docsdk-php
Files in docsdk/docsdk-php
Package docsdk-php
Short Description PHP SDK for DocSDK APIs
License MIT
Homepage https://github.com/docsdk/docsdk-php
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
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