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
- Host: GitHub
- URL: https://github.com/zingimmick/laravel-flysystem-obs
- Owner: zingimmick
- License: mit
- Created: 2021-05-28T15:54:27.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-24T15:11:29.000Z (4 months ago)
- Last Synced: 2025-02-24T16:25:48.006Z (4 months ago)
- Topics: flysystem, laravel, obs
- Language: PHP
- Homepage:
- Size: 134 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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)
[](https://github.com/zingimmick/laravel-flysystem-obs/actions)
[](https://codecov.io/gh/zingimmick/laravel-flysystem-obs)
[](https://packagist.org/packages/zing/laravel-flysystem-obs)
[](https://packagist.org/packages/zing/laravel-flysystem-obs)
[](https://packagist.org/packages/zing/laravel-flysystem-obs)
[](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).