alibabacloud / viapi-utils
Alibaba Cloud Viapi Utils Library for PHP
0.1.3
2020-05-28 07:46 UTC
Requires
- php: >5.5
- alibabacloud/tea-oss-sdk: ^0.3.0
- alibabacloud/tea-oss-utils: ^0.2.0
- alibabacloud/tea-rpc: ^0.1.5
- alibabacloud/tea-utils: ^0.2.0
- alibabacloud/viapi-tool: ^0.1.0
- alibabacloud/viapiutils-20200401: ^0.1.0
This package is auto-updated.
Last update: 2024-10-09 11:16:39 UTC
README
English | 简体中文
Alibaba Cloud Viapi Utils Library for PHP
Installation
Composer
composer require alibabacloud/viapi-utils
Demo
<?php namespace demo; require __DIR__ . '/vendor/autoload.php'; use AlibabaCloud\SDK\ViapiUtils\ViapiUtils; use AlibabaCloud\Tea\Exception\TeaUnableRetryError; try { $url = ViapiUtils::upload("<Access-Key-Id>", "<Access-Key-Secret>", "<File-Path>"); var_dump($url); } catch (TeaUnableRetryError $e) { var_dump($e->getMessage()); var_dump($e->getErrorInfo()); var_dump($e->getLastException()); var_dump($e->getLastRequest()); }
Issues
Opening an Issue, Issues not conforming to the guidelines may be closed immediately.
Changelog
Detailed changes for each release are documented in the release notes.
References
License
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.