level51/silverstripe-s3upload 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

level51/silverstripe-s3upload

最新稳定版本:3.0.2

Composer 安装命令:

composer require level51/silverstripe-s3upload

包简介

SilverStripe module for file handling with S3

README 文档

README

Adds a Level51\S3\S3File data object and an appropriate uploader.

Features

  • S3UploadField with direct uploads from the browser to S3 - no local file storage needed
  • S3File data object, independent from other SilverStripe files

Config

Mandatory S3 config

Level51\S3:
  AccessId: **********
  Secret: ********************
  bucket: MY_BUCKET_NAME # can also be set per field

Default config

Level51\S3:
  default_region: eu-central-1 # default region, can be set per field
  acl: private
  maxFileSize: 512 # default max file size in mb, can be set per field 
  acceptedFiles: # file extension or mime type used as default, can be set per field
    - video/*
    - image/*

Optional config

Level51\S3\S3UploadField:
  ExtensionToMimeTypeOverrides:
    psd: image/vnd.adobe.photoshop

Requirements

  • SilverStripe ^4 | ^5 | ^6
  • aws-sdk-php ^3

Maintainer

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固