PHPackages                             rik3sh/rb-file-manager - 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. rik3sh/rb-file-manager

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

rik3sh/rb-file-manager
======================

A simple laravel package to manage files in either your public folder or s3 bucket.

v1.0.1(3y ago)18MITPHP

Since Jun 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rik3sh/RBFileManager)[ Packagist](https://packagist.org/packages/rik3sh/rb-file-manager)[ RSS](/packages/rik3sh-rb-file-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

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

[](#installation)

Require this package with composer. It is recommended to only require the package for development.

```
composer require rik3sh/rb-file-manager
```

### Laravel without auto-discovery:

[](#laravel-without-auto-discovery)

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

```
rik3sh\RBFileManager\FileManagerServiceProvider::class,
```

#### Copy the package config to your local config with the publish command:

[](#copy-the-package-config-to-your-local-config-with-the-publish-command)

```
php artisan vendor:publish --provider="rik3sh\RBFileManager\FileManagerServiceProvider"
```

The file manager needs a new environment variable named `RB_DISK` and set it's value to either `public` or `s3` according to your file system needs.

If your preffered file system is `s3`, then you will need to enter your s3 bucket cerdentials in the default respective environment variables provided by laravel i.e. `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_DEFAULT_REGION` and `AWS_BUCKET`.

Usage
-----

[](#usage)

Once installed you can do stuff like this:

```
use rik3sh\RBFileManager\FileManager;

// Storing a new file
FileManager::storeFile($request->the_file_input_name, 'ANY_FOLDER_NAME_YOU_WANT');

// Replacing/Updating a new file
FileManager::updateFile($request->the_file_input_name, 'ANY_FOLDER_NAME_YOU_WANT', $oldfilename);
// The $oldfilename is optional. If $oldfilename is provided, the new file will replace it.

// Deleting a file
FileManager::deleteFile('ANY_FOLDER_NAME_YOU_WANT', $filename);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

2

Last Release

1420d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27aa7a7fa8a554fc3420fd76e80aaa19bf7c3633fd3e2cd7921645537c0d9ca7?d=identicon)[rik3sh](/maintainers/rik3sh)

---

Top Contributors

[![rik3sh](https://avatars.githubusercontent.com/u/84961672?v=4)](https://github.com/rik3sh "rik3sh (9 commits)")

### Embed Badge

![Health badge](/badges/rik3sh-rb-file-manager/health.svg)

```
[![Health](https://phpackages.com/badges/rik3sh-rb-file-manager/health.svg)](https://phpackages.com/packages/rik3sh-rb-file-manager)
```

###  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.8M124](/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)
