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

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

businessprocess/file-storage
============================

File storage disk for Laravel

v1.0.0(1y ago)0680↓50%MITPHPPHP ^8.0

Since Jan 29Pushed 1y ago1 watchersCompare

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

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

File storage
============

[](#file-storage)

[![PHP 8.x](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)[![Laravel 8.x](https://camo.githubusercontent.com/3c7441bb2ae21c31ca18ffa084e2fb51a956727722dbd18b850336439becc367/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d382e782d6f72616e67652e737667)](http://laravel.com)[![Yii 2.x](https://camo.githubusercontent.com/ff8999e0e5a1e46689cc5a19d1d0f07ffafaa842838a983a2c4469458a1defa8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5969692d322e782d6f72616e6765)](https://www.yiiframework.com/doc/guide/2.0/ru)[![Latest Stable Version](https://camo.githubusercontent.com/37194d625e4e998d6579440bbd9ce3237bf23486c3f8b5ffc5a4e57c1ef81814/68747470733a2f2f706f7365722e707567782e6f72672f627573696e65737370726f636573732f66696c652d73746f726167652f762f737461626c65)](https://camo.githubusercontent.com/37194d625e4e998d6579440bbd9ce3237bf23486c3f8b5ffc5a4e57c1ef81814/68747470733a2f2f706f7365722e707567782e6f72672f627573696e65737370726f636573732f66696c652d73746f726167652f762f737461626c65)[![Release date](https://camo.githubusercontent.com/2f942ddb10cf08afc0afbddb830059cd5758b921bc4237c64d0d3785c692afd0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f627573696e65737370726f636573732f66696c652d73746f72616765)](https://camo.githubusercontent.com/2f942ddb10cf08afc0afbddb830059cd5758b921bc4237c64d0d3785c692afd0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f627573696e65737370726f636573732f66696c652d73746f72616765)[![Release Version](https://camo.githubusercontent.com/5d3bc0d7152f4fb039246ef87cda1a26621991fe525bcad7760b09bedea7126f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f627573696e65737370726f636573732f66696c652d73746f72616765)](https://camo.githubusercontent.com/5d3bc0d7152f4fb039246ef87cda1a26621991fe525bcad7760b09bedea7126f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f627573696e65737370726f636573732f66696c652d73746f72616765)[![Total Downloads](https://camo.githubusercontent.com/0ba846f368e21cd4ea03857a3f3fd18567fdcebd267a0ef1d7bfb923a9e8c2eb/68747470733a2f2f706f7365722e707567782e6f72672f627573696e65737370726f636573732f66696c652d73746f726167652f646f776e6c6f616473)](https://camo.githubusercontent.com/0ba846f368e21cd4ea03857a3f3fd18567fdcebd267a0ef1d7bfb923a9e8c2eb/68747470733a2f2f706f7365722e707567782e6f72672f627573696e65737370726f636573732f66696c652d73746f726167652f646f776e6c6f616473)[![Pull requests](https://camo.githubusercontent.com/2f8acb951e7decc4df2e7b4b7158b2b8e611bd0b2ebeed4baa69db5977855bd0/68747470733a2f2f696d672e736869656c64732e696f2f6269746275636b65742f70722f627573696e65737370726f636573732f66696c652d73746f72616765)](https://camo.githubusercontent.com/2f8acb951e7decc4df2e7b4b7158b2b8e611bd0b2ebeed4baa69db5977855bd0/68747470733a2f2f696d672e736869656c64732e696f2f6269746275636b65742f70722f627573696e65737370726f636573732f66696c652d73746f72616765)[![Software License](https://camo.githubusercontent.com/f5d9171601aa82ad4427c0d2e7e9a3b979561286eb661103a8c7bfad3830b084/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d706c61737469632d737175617265)](LICENSE)[![Stars](https://camo.githubusercontent.com/db8d66250b03f987433dd74f8677e03c3283f3cfa870e04273bf7073a8c37e41/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f627573696e65737370726f636573732f66696c652d73746f726167653f7374796c653d736f6369616c)](https://camo.githubusercontent.com/db8d66250b03f987433dd74f8677e03c3283f3cfa870e04273bf7073a8c37e41/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f627573696e65737370726f636573732f66696c652d73746f726167653f7374796c653d736f6369616c)

File storage to Laravel FrameWork v8.0 and above.

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

[](#installation)

The recommended way to install channel is through [Composer](http://getcomposer.org).

```
composer require businessprocess/file-storage
```

Usage BptDrive
------------------------------------------------------

[](#usage-bptdrive-)

```
    $config = [
        'url' => env('FILE_STORE_URL'),
        'login' => env('FILE_STORE_LOGIN'),
        'password' => env('FILE_STORE_PASS'),
    ];

   $storage = new \FileStorage\Drive\BptDrive(new \FileStorage\Http\Client($config));

   $file = $storage->add('1', true, $content);

   $url = $storage->getPublicUrl($file->getHash());
```

Usage FileStore Facade
---------------------------------------------------------------

[](#usage-filestore-facade-)

```
   $file = \FileStorage\Facades\FileStore::add('1', true, $content);

   $url = \FileStorage\Facades\FileStore::getPublicUrl($file->getHash());
```

Usage Storage
-------------------------------------------------------

[](#usage-storage-)

```
    $path = 'your-file-path'

   \Storage::drive('cloud')->put($path, $content, $config);

   $url = \Storage::drive('cloud')->url($path);
```

Config
---------------------------------------------

[](#config-)

```
    'disks' => [
       'cloud' => [
        'driver' => 'bpt-store',
        'group' => '1',
        'visibility' => 'public',
        'throw' => true,
        ],
    ]
```

Config Voyager
--------------------------------------------------------

[](#config-voyager-)

```
     'storage' => [
        'disk' => 'cloud',
    ],
```

#### Available Options

[](#available-options)

OptionDescriptionDefault valueurlAPI url (required)nullloginLogin (required)nullpasswordPassword (required)null#### Available methods

[](#available-methods)

OptionDescriptionDefault valueurlAPI url (required)nullloginLogin (required)nullpasswordPassword (required)null

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance42

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

3

Last Release

474d ago

Major Versions

v0.0.2 → v1.0.02025-01-30

### Community

Maintainers

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

---

Top Contributors

[![maveriksEcho](https://avatars.githubusercontent.com/u/40034131?v=4)](https://github.com/maveriksEcho "maveriksEcho (5 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[masbug/flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual&lt;=&gt;display path translation

2631.7M14](/packages/masbug-flysystem-google-drive-ext)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[dgtlss/capsule

A Laravel package for backing up databases and files to external sources with notifications

194.3k](/packages/dgtlss-capsule)

PHPackages © 2026

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