An open API service indexing awesome lists of open source software.

https://github.com/zingimmick/laravel-flysystem-obs

OBS storage filesystem for Laravel
https://github.com/zingimmick/laravel-flysystem-obs

flysystem laravel obs

Last synced: 4 months ago
JSON representation

OBS storage filesystem for Laravel

Awesome Lists containing this project

README

        

# Laravel Flysystem OBS

OBS storage filesystem for Laravel based on [zing/flysystem-obs](https://github.com/zingimmick/flysystem-obs)

[![Build Status](https://github.com/zingimmick/laravel-flysystem-obs/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/zingimmick/laravel-flysystem-obs/actions)
[![Code Coverage](https://codecov.io/gh/zingimmick/laravel-flysystem-obs/branch/master/graph/badge.svg)](https://codecov.io/gh/zingimmick/laravel-flysystem-obs)
[![Latest Stable Version](https://poser.pugx.org/zing/laravel-flysystem-obs/v/stable.svg)](https://packagist.org/packages/zing/laravel-flysystem-obs)
[![Total Downloads](https://poser.pugx.org/zing/laravel-flysystem-obs/downloads)](https://packagist.org/packages/zing/laravel-flysystem-obs)
[![Latest Unstable Version](https://poser.pugx.org/zing/laravel-flysystem-obs/v/unstable.svg)](https://packagist.org/packages/zing/laravel-flysystem-obs)
[![License](https://poser.pugx.org/zing/laravel-flysystem-obs/license)](https://packagist.org/packages/zing/laravel-flysystem-obs)

> **Requires**
> - **[PHP 8.0+](https://php.net/releases/)**
> - **[Laravel 9.0+](https://laravel.com/docs/releases)**

## Version Information

| Version | Illuminate | PHP Version | Status |
|:--------|:-----------|:------------|:------------------------|
| 2.x | 9.x | >= 8.0 | Active support :rocket: |
| 1.x | 6.x - 8.x | >= 7.2 | Active support |

Require Laravel Flysystem OBS using [Composer](https://getcomposer.org):

```bash
composer require zing/laravel-flysystem-obs
```

## Configuration

```php
return [
// ...
'disks' => [
// ...
'obs' => [
'driver' => 'obs',
'root' => '',
'key' => env('OBS_KEY'),
'secret' => env('OBS_SECRET'),
'bucket' => env('OBS_BUCKET'),
'endpoint' => env('OBS_ENDPOINT'),
'is_cname' => env('OBS_IS_CNAME', false),
'security_token' => env('OBS_SECURITY_TOKEN'),
],
]
];
```

## Environment

```dotenv
OBS_KEY=
OBS_SECRET=
OBS_BUCKET=
OBS_ENDPOINT=
OBS_IS_CNAME=false
OBS_SECURITY_TOKEN=
```

## License

Laravel Flysystem OBS is an open-sourced software licensed under the [MIT license](LICENSE).