PHPackages                             codefun/filemanager - 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. codefun/filemanager

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

codefun/filemanager
===================

Laravel File Manager For Main All Types of file upload

v1.0.2(1y ago)021MITPHPPHP ^7.3|^8.0

Since Jul 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/shajushahjalal/codefun_fileManager)[ Packagist](https://packagist.org/packages/codefun/filemanager)[ RSS](/packages/codefun-filemanager/feed)WikiDiscussions master Synced 1mo ago

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

About Laravel CodeFun File Manager System
=========================================

[](#about-laravel-codefun-file-manager-system)

- This package will automatically handel your all files for upload, update &amp; delete.

Installation Process
====================

[](#installation-process)

- `composer require codefun/filemanager`
- `php artisan vendor:publish --tag=codefun_fileManager_migration`
- `php artisan migrate`

Before Laravel 5.7
------------------

[](#before-laravel-57)

Add the following into your ***providers*** array on `config\app.php`:

- `CodeFun\Activitylog\App\Providers\FileManagerServiceProvider`

then add This alias into ***alias*** array on `config\app.php`:

- `"FileManager" => CodeFun\Activitylog\Facade\FileManager::class`

Not necessary from Laravel 5.7 onwards
--------------------------------------

[](#not-necessary-from-laravel-57-onwards)

How To Upload File?
===================

[](#how-to-upload-file)

In your method Just Use it Available methods

```
$user = User::find($id);
FileManager::model($user)->upload($fileName, $width = null, $height =  null);
FileManager::coverPic()->upload($fileName, $width = null, $height =  null);
FileManager::profilePic()->upload($fileName, $width = null, $height =  null);
FileManager::deleteAll(Model $model);
FileManager::model($user)->delete(array | string $deleteAbleFileId);
FileManager::model($user)->update(array | string $updateAbleFileId)->upload($fileName, $width = null, $height =  null);

```

Go to your Model and use the trait file:

```
use CodeFun\FileManager\App\Component\Traits\FileManager;
class AnyModel extends Model
{
    use FileManager;
}

```

Retrive Multiple Uploaded Files without cover &amp; profice pic
===============================================================

[](#retrive-multiple-uploaded-files-without-cover--profice-pic)

```
$user = User::find(1);
$user->files() [ This Method Return File List(Array List)]

```

Retrive All Uploaded Files
==========================

[](#retrive-all-uploaded-files)

```
$user = User::find(1);
$user->allFiles() [ This Method Return File List(Array List)]

```

Retrive profile Pic
===================

[](#retrive-profile-pic)

```
$user = User::find(1);
$user->profilePic() [ This Method Return single File ]

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

3

Last Release

661d ago

Major Versions

v0.0.6 → v1.0.22024-07-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/6df601cd28c111093887ff3ab228d3c4355ea10bf196250eebdb3aaef324d3d7?d=identicon)[shajushahjalal@gmail.com](/maintainers/shajushahjalal@gmail.com)

---

Top Contributors

[![shajushahjalal](https://avatars.githubusercontent.com/u/34285348?v=4)](https://github.com/shajushahjalal "shajushahjalal (16 commits)")

### Embed Badge

![Health badge](/badges/codefun-filemanager/health.svg)

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

###  Alternatives

[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[barryvdh/elfinder-flysystem-driver

A Flysystem Driver for elFinder

1864.7M31](/packages/barryvdh-elfinder-flysystem-driver)[itskodinger/midia

Simple Media manager for your Laravel project

1415.8k](/packages/itskodinger-midia)[jeremytubbs/deepzoom

Deepzoom Tile Generator for OpenSeadragon

5018.7k2](/packages/jeremytubbs-deepzoom)[farhanshares/laravel-mediaman

MediaMan - The most elegant &amp; powerful media management package for Laravel!

293.7k](/packages/farhanshares-laravel-mediaman)[xefi/faker-php-images

Faker extension to generate images

402.6k](/packages/xefi-faker-php-images)

PHPackages © 2026

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