定制 neoxia/laravel-openstack 二次开发

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

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

neoxia/laravel-openstack

Composer 安装命令:

composer require neoxia/laravel-openstack

包简介

OpenStack filesystem service provider for Laravel

README 文档

README

Latest Stable Version

Laravel OpenStack

This package provides a service provider to add a driver for OpenStack Object Storage (swift) to Laravel Storage.

Installation

Require this package with composer using the following command:

composer require neoxia/laravel-openstack

As of Laravel 5.5, this package will be automatically discovered and registered. For older version of Laravel, add the service provider in config/app.php.

Neoxia\Filesystem\OpenStackServiceProvider::class

Configuration

To configure a new Laravel storage disk on OpenStack, provide a configuration like this one in config/filesystems.php

'disks' => [

    'openstack' => [
        'driver'        => 'openstack',
        'endpoint'      => env('OS_ENDPOINT', ''),
        'username'      => env('OS_USERNAME', ''),
        'password'      => env('OS_PASSWORD', ''),
        'tenant_id'     => env('OS_TENANT_ID', ''),
        'tenant_name'   => env('OS_TENANT_NAME', ''),
        'container'     => env('OS_CONTAINER', ''),
        'region'        => env('OS_REGION', ''),
        'service_name'  => env('OS_SERVICE_NAME', 'swift'),
    ],

],

Note that the implementation of OpenStack Object Storage varies from one provider to an other. For instance, the configuration of the tenant_id and/or of the tenant_name is not always mandatory.

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 12
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固