New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

fortrabbit/laravel-object-storage

Flysystem adapter for fortrabbit Object Storage
11,269 3
Install
composer require fortrabbit/laravel-object-storage
Latest Version:2.2.0
PHP:^8.0
Laravel:9 · 10
Older releases:5 – 8
License:MIT
Last Updated:Apr 11, 2024
Links: GitHub  ·  Packagist
Maintainer: fortrabbit

A flysystem driver for fortrabbit's Object Storage

Install

The most recent version (2.x) is compatible with Laravel 9 and 10

# For laravel 9 and 10
composer require fortrabbit/laravel-object-storage

# For laravel 6,7,8 
composer require fortrabbit/laravel-object-storage:^1.4

Configure the 'object-storage' driver

You are free to choose the disk name. In this example it is s3, but it's up to you.

# config/filesystems.php

// ...
'disks' => [
    's3' => [
        'driver' => 'object-storage'
    ]
],

Environment variables for Object Storage access are available automatically on fortrabbit. For local access you need to set them.

# local .env

OBJECT_STORAGE_KEY="{your-app-name}"
OBJECT_STORAGE_SECRET="{object-storage-secrect}"
OBJECT_STORAGE_REGION="{eu-west-1 or us-west-1} "
OBJECT_STORAGE_BUCKET="{your-app-name}"
OBJECT_STORAGE_SERVER="objects.{region}.frbit.com"
OBJECT_STORAGE_URL="https://{your-app-name}.objects.frb.io"

Related Packages

mubbi/laravel-flysystem-huawei-obs

Laravel Flysystem v3 adapter for Huawei Object Storage Service (OBS) with v2 com...

9,230 4
danhunsaker/laravel-flysystem-service

Automatically registers every Flysystem adapter it recognizes as a Laravel Files...

35,183 3
danhunsaker/laravel-flysystem-others

Automatically registers every third-party Flysystem adapter it recognizes as a L...

33,913 22
onethirtyone/laravel-s3-migrate

A Laravel package to migrate from local storage to Amazon S3

9,788 6
arquivei/flysystem-php

Arquivei Flysystem Adapters.

9,483 4

Version History

Version Released PHP Laravel License
2.2.0 ^8.0 ^9.0|^10.0 MIT
2.1.0 ^8.0 ^9.0|^10.0 MIT
2.0.0 ^8.0 ^9.0 MIT
1.4.0 ^7.1|^8.0 ^5.5|^6.0|^7.0|^8.0 MIT
1.3.0 ^7.1 ^5.5|^6.0|^7.0|^8.0 MIT