satoripophq/azuresdk
Composer 安装命令:
composer require satoripophq/azuresdk
包简介
Microsoft Azure SDK for PHP
README 文档
README
Version 1.0
Adaptation for Composer and PSR-4 of:
This project provides a set of PHP client libraries that make it easy to access Windows Azure tables, blobs, queues, service runtime and service management APIs.
Install
$ composer require satoripophq/azuresdk
"require": { "satoripophq/AzureSDK": "1.3" }
Usage
use SatoripopAzure\AzureBlob as _AzureBlob; ... $config['azureStorageName'] = "xxxxxx"; $config['azureAccountKey'] = "xxxxxx"; $config['uploadContainer'] = "mycontainer"; $uploadAzure = new _AzureBlob($config); $result = $uploadAzure->createBlob($file,$blob_name); echo $result; $uploadAzure->downloadBlob($blob_name); ...
AzureBlob Class
createCont
Creates a new container in the given storage account.
- @param string => $container : name
createBlob
Creates a new block blob or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with createBlockBlob; the content of the existing blob is overwritten with the content of the new blob. To perform a partial update of the ontent of a block blob, use the createBlockList method.
- @param string => $container : name of the container
- @param string => $blob : name of the blob
- @param string => $content : content of the blob
deleteBlob
Deletes a blob or blob snapshot.
Note that if the snapshot entry is specified in the $options then only this blob snapshot is deleted. To delete all blob snapshots, do not set Snapshot and just set getDeleteSnaphotsOnly to true.
- @param string => $blob : name of the blob
- @param string => $container : name of the container
copyBlob
Copies a source blob to a destination blob within the same storage account.
- @param string => $destinationContainer : name of container
- @param string => $destinationBlob : name of blob
- @param string => $sourceContainer : name of container
- @param string => $sourceBlob : name of blob
listBlobs
Lists all of the blobs in the given container.
- @param string => $container : name
downloadBlob
Reads or downloads a blob from the system, including its metadata and properties.
- @param string => $container : name of the container
- @param string => $blob : name of the blob
satoripophq/azuresdk 适用场景与选型建议
satoripophq/azuresdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 138 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 06 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「azure」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 satoripophq/azuresdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 satoripophq/azuresdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 satoripophq/azuresdk 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Small library to access Microsoft Windows Azure Blob Storage with a Service or a StreamWrapper.
Adds Silverstripe Flysystem support for using the Azure Blob adapter
Laravel 5 Queue Driver for Microsoft Azure Storage Queue
Laravel Azure storage service provider
Azure service bus Transport
Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client
统计信息
- 总下载量: 138
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-27