PHPackages                             live-controls/storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. live-controls/storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

live-controls/storage
=====================

Object Storage Library for live-controls

v1.4.1(10mo ago)02.1kPHP

Since Jul 22Pushed 10mo agoCompare

[ Source](https://github.com/live-controls/storage)[ Packagist](https://packagist.org/packages/live-controls/storage)[ RSS](/packages/live-controls-storage/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (34)Used By (0)

Storage
=======

[](#storage)

[![Release Version](https://camo.githubusercontent.com/3be0fe1cb058c2d7774542144a44ed21937f2bef3a049a0df39c847ab867f4d6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c6976652d636f6e74726f6c732f73746f72616765)](https://camo.githubusercontent.com/3be0fe1cb058c2d7774542144a44ed21937f2bef3a049a0df39c847ab867f4d6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c6976652d636f6e74726f6c732f73746f72616765)[![Packagist Version](https://camo.githubusercontent.com/3ae3cbc73b7d1ec29abd734c53576f8e0745c1b566152cb08ca3ad88e0d4e3ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6976652d636f6e74726f6c732f73746f726167653f636f6c6f723d253233303037353030)](https://camo.githubusercontent.com/3ae3cbc73b7d1ec29abd734c53576f8e0745c1b566152cb08ca3ad88e0d4e3ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6976652d636f6e74726f6c732f73746f726167653f636f6c6f723d253233303037353030)

Object Storage Library for live-controls

Requirements
------------

[](#requirements)

- PHP 8.0+
- S3 compatible Object Storage Hoster like Contabo or DigitalOcean

Translations
------------

[](#translations)

None

Installation
------------

[](#installation)

```
composer require live-controls/storage

```

Setup FluentObjectStorageHandler
--------------------------------

[](#setup-fluentobjectstoragehandler)

1. If you want to use DBDisks, create the migration like this:

```
php artisan vendor:publish --provider="LiveControls\Storage\StorageServiceProvider" --tag="migrations"

```

Setup ObjectStorageHandler
--------------------------

[](#setup-objectstoragehandler)

1. Add to .env:

```
OBJECTSTORAGE_ACCESS_KEY_ID=53234123 //Should be the access key id to the storage
OBJECTSTORAGE_SECRET_ACCESS_KEY=0000000 //Should be the secret access key to the storage
OBJECTSTORAGE_DEFAULT_REGION=usc1 //Should match the subdomain in endpoint or url
OBJECTSTORAGE_BUCKET=bucketName //The name of the bucket
OBJECTSTORAGE_URL=https://usc1.contabostorage.com/1234567890:bucketName //The url of the bucket
OBJECTSTORAGE_ENDPOINT=https://usc1.contabostorage.com/ //The endpoint of the bucket
OBJECTSTORAGE_USE_PATH_STYLE_ENDPOINT=true //Needs to be true to work!

```

2. Add to config/filesystems.php:

```
'disks' => [
     ...
   'objectstorage' => [
       'driver' => 's3',
       'key' => env('OBJECTSTORAGE_ACCESS_KEY_ID'),
       'secret' => env('OBJECTSTORAGE_SECRET_ACCESS_KEY'),
       'region' => env('OBJECTSTORAGE_DEFAULT_REGION'),
       'bucket' => env('OBJECTSTORAGE_BUCKET'),
       'url' => env('OBJECTSTORAGE_URL'),
       'endpoint' => env('OBJECTSTORAGE_ENDPOINT'),
       'use_path_style_endpoint' => env('OBJECTSTORAGE_USE_PATH_STYLE_ENDPOINT', false),
       'throw' => false,
   ],
]
```

3. Publish configuration file with:

```
php artisan vendor:publish --tag="livecontrols.storage.config"

```

4. Set "storage:disk" to the name of your disk set in Step 2

Usage
-----

[](#usage)

Todo

Hint
----

[](#hint)

- To use it with big files, use fopen($fName, 'r+') and not file\_get\_contents($fName)
- If you, for whatever reason, need to change the directory separator to something else than a forwards slash, change the "directory\_separator" inside the configuration file. But you normally wouldn't want to do this, because it would break the temporaryUrl return value.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance55

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~23 days

Recently: every ~28 days

Total

33

Last Release

300d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f366058ff9e06fad5c432234f0ac35a154bcc4153dbff096987489b16e87eb7?d=identicon)[daredloco](/maintainers/daredloco)

---

Top Contributors

[![daredloco](https://avatars.githubusercontent.com/u/60240491?v=4)](https://github.com/daredloco "daredloco (52 commits)")

### Embed Badge

![Health badge](/badges/live-controls-storage/health.svg)

```
[![Health](https://phpackages.com/badges/live-controls-storage/health.svg)](https://phpackages.com/packages/live-controls-storage)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
