PHPackages                             jorisros/file-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. jorisros/file-storage

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

jorisros/file-storage
=====================

Library for the storage of files in the cloud

v1.2(6y ago)0101MITPHP

Since Feb 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jorisros/file-storage)[ Packagist](https://packagist.org/packages/jorisros/file-storage)[ RSS](/packages/jorisros-file-storage/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (1)

\[DEPRECATED\] FileStorage
==========================

[](#deprecated-filestorage)

This library is deprecated because of this library has extact the same functionality: [https://flysystem.thephpleague.com/v1/docs/](https://flysystem.thephpleague.com/v1/docs/https://www.google.com)

This is a library to store data remote of the webserver, when working with microservices and or serverless technology the need for a centralized service is needed for shared files. This is designed for slow changing IO file activity.

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

[](#installation)

This library can be installed by composer.

```
composer required jorisros/file-storage

```

Usage
-----

[](#usage)

Create a transporter in this the local file system and add there a PSR compatible logger. And configure the base directory where the transport layer will store its data.

```
$parameters = [
    'baseDirectory' => '/tmp'
];

$transport = new \JorisRos\FileStorage\Transport\LocaleFile($parameters, $logger);

$fileStorage = new FileStorageService($transport);
$fileStorage->setFileContent('test.txt', 'This is a test');
$data = $fileStorage->getFileContent('test.txt');

echo $data; // Will be 'This is a test' printed
```

TODO
----

[](#todo)

- Add AWS S3 client
- Add Dropbox client

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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 ~2 days

Total

3

Last Release

2272d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c02ea57a258994d3f586ba5c58bd3d66bac8567bd5501466bb75a0faad786aa9?d=identicon)[jorisros](/maintainers/jorisros)

---

Top Contributors

[![jorisros](https://avatars.githubusercontent.com/u/752283?v=4)](https://github.com/jorisros "jorisros (14 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jorisros-file-storage/health.svg)

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

###  Alternatives

[sonata-project/media-bundle

Symfony SonataMediaBundle

4625.5M71](/packages/sonata-project-media-bundle)[puli/repository

A filesystem-like repository for storing arbitrary resources.

44287.6k32](/packages/puli-repository)

PHPackages © 2026

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