定制 samsonphp/fs_aws 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

samsonphp/fs_aws

最新稳定版本:1.0.9

Composer 安装命令:

composer require samsonphp/fs_aws

包简介

SamsonPHP aws file system service

README 文档

README

#SamsonPHP AWS File service module

This is File service implementation for Amazon AWS S3 buckets in SamsonPHP. This is abstraction layer over standard PHP file functions.

Latest Stable Version Build Status Code Coverage Scrutinizer Code Quality Stories in Ready Total Downloads

##Configuration

This is done using SamsonPHP configuration system

In all nested php_fs_* modules which must be build on top of php_fs module all configuration are done to main SamsonPHP File service module(It's identifier is fs). This configuration class field values will be automatically passed to nested AbstractFileService ancestor.

All available configuration fields are:

class FSConfig extends \samson\core\Config 
{
  /**@var string Set Amazon Web Services as web-application file service using its class name */
  public $fileServiceClassName = 'samsonphp\fs\AWSFileService';

  /** @var string $bucket Aws bucket name */
  public $bucket = '...';
 
  /** @var string $accessKey */
  public $accessKey = '...';
 
  /** @var string $secretKey */
  public $secretKey = '...';
 
  /** @var string $bucketURL Url of amazon bucket */
  public $bucketURL = '...';
  
  /** @var string $region Region of AWS S3 service */
  public $region = '...';
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Open
  • 更新时间: 2015-01-22