定制 biigle/laravel-aruna-driver 二次开发

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

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

biigle/laravel-aruna-driver

最新稳定版本:v1.2

Composer 安装命令:

composer require biigle/laravel-aruna-driver

包简介

Aruna object Storage storage driver for Laravel/Lumen.

README 文档

README

⚠️ This package is now archived because AOS storage disks can be used via the S3 protocol.

Aruna Object Storage storage driver for Laravel/Lumen.

Installation

Require the package with Composer:

composer require biigle/laravel-aruna-driver

Laravel

The service provider is detected automatically.

Lumen

Add the service provider to bootstrap/app.php:

$app->register(Biigle\Filesystem\Aruna\ArunaServiceProvider::class);

Configuration

Add a new storage disk to config/filesystems.php:

'disks' => [
   'aruna' => [
      'driver' => 'aruna',
      // The bucket name consists of the collection version (or latest), the
      // collection name and the project name.
      'bucket' => 'latest.collection-name.project-name',
      'collectionId' => 'MYARUNACOLLECTIONULID',
      'apiUri' => 'https://api.aruna-storage.org',
      // The bucket name MUST be included in the endpoint URL.
      'endpoint' => 'https://latest.collection-name.project-name.data.gi.aruna-storage.org',
      'key' => env('ARUNA_S3_KEY', ''),
      'secret' => env('ARUNA_S3_SECRET', ''),
      'token' => env('ARUNA_API_TOKEN', ''),
   ],
]

Additional configuration options:

  • prefix (default: null): Prefix to use for all file paths.

Funding

This work was supported by the German Research Foundation (DFG) within the project “Establishment of the National Research Data Infrastructure (NFDI)” in the consortium NFDI4Biodiversity (project number 442032008).

NFDI4Biodiversity Logo

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-17