PHPackages                             dragoblued/filestorageclient - 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. dragoblued/filestorageclient

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

dragoblued/filestorageclient
============================

1.0.3(1y ago)00PHPPHP &gt;=7.4.0

Since Jan 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dragoblued/filestorage-client)[ Packagist](https://packagist.org/packages/dragoblued/filestorageclient)[ RSS](/packages/dragoblued-filestorageclient/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

Filestorage Client
==================

[](#filestorage-client)

Клиент предназначен для работы с файловыми хранилищами, включая использование S3

Установка пакета
================

[](#установка-пакета)

composer require fixprice/filestorage-client

Пример использования
====================

[](#пример-использования)

Сохранение файла в s3

```
use Fixprice\FilestorageClient\FilestorageClient;
use Fixprice\FilestorageClient\Enums\StorageTypeEnum;

$fileStorageClient = new FileStorageClient(StorageTypeEnum::S3); //принимает вторым аргументом настройки для S3. По умолчанию эти настройки заполняются из переменных окружения (env)
$fileStorageClient->fileStorage->upload($file->name, $file->tempName);

```

Описание методов для работы с S3:

1. upload: загрузка файла в хранилище.
2. get: получение файла из хранилища.
3. delete: удаление файла из хранилища.
4. size: получение размера файла.
5. url: получение ссылки на файл в S3.
6. clearBucket: очистка всего содержимого бакета.

Сохранение файла в локальном хранилище

```
use Fixprice\FilestorageClient\FilestorageClient;
use Fixprice\FilestorageClient\Enums\StorageTypeEnum;

$fileStorageClient = new FileStorageClient(StorageTypeEnum::LOCAL, [
    'attachmentSystemPath' => \Yii::getAlias('@common/upload/')
]);
$fileStorageClient->fileStorage->upload($file->name, $file->tempName);

```

1. upload: загрузка файла в хранилище.
2. delete: удаление файла из хранилища.
3. setAttachmentSystemPath: изменения системного пути

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance46

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

3

Last Release

412d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17319408?v=4)[Natali Tabaeva](/maintainers/dragoblued)[@dragoblued](https://github.com/dragoblued)

---

Top Contributors

[![dragoblued](https://avatars.githubusercontent.com/u/17319408?v=4)](https://github.com/dragoblued "dragoblued (29 commits)")

### Embed Badge

![Health badge](/badges/dragoblued-filestorageclient/health.svg)

```
[![Health](https://phpackages.com/badges/dragoblued-filestorageclient/health.svg)](https://phpackages.com/packages/dragoblued-filestorageclient)
```

PHPackages © 2026

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