承接 groupdocscloud/storage-sdk-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

groupdocscloud/storage-sdk-php

Composer 安装命令:

composer require groupdocscloud/storage-sdk-php

包简介

This repository contains GroupDocs Storage Cloud SDK for PHP source code. GroupDocs Storage Cloud SDK for PHP is a true REST API that provides managers for multiple storage types.

README 文档

README

This repository contains GroupDocs.Storage Cloud SDK for PHP source code. This SDK allows you to work with GroupDocs.Storage Cloud REST APIs in your PHP applications quickly and easily, with zero initial cost.

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 via source code or via Packagist distribution (recommended). For more details, please visit our documentation website.

Prerequisites

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

Installation

Install storage-sdk-php via Composer:

storage-sdk-php is available on Packagist as the storage-sdk-php package. Run the following command:

composer require groupdocscloud/storage-sdk-php

To use the SDK, use Composer's autoload:

require_once('vendor/autoload.php');

Sample usage

The example below shows how your application has to initiate and download a file using storage-sdk-php library:

$config = new Configuration();
$config->setAppKey('AppKey')->setAppSid('AppSid');
$storageApi = new StorageApi($config);

$path = "path/FileName.pdf";
$versionId = null;
$storage = "StorageName";
$request = new Requests\GetDownloadRequest($path, $versionId, $storage);
$result = $storageApi->getDownload($request);

Tests contain various examples of using the SDK. Please put your credentials into Configuration.

Dependencies

  • PHP 5.6 or later
  • referenced packages (see here for more details)

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固