PHPackages                             mbhanife/upload-file - 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. mbhanife/upload-file

ActiveLibrary

mbhanife/upload-file
====================

Laravel Upload file package

10PHP

Since Oct 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/itstudent-mbh/laravel_file_uploader)[ Packagist](https://packagist.org/packages/mbhanife/upload-file)[ RSS](/packages/mbhanife-upload-file/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

File\_upload\_Controller
========================

[](#file_upload_controller)

Laravel file upload controller package Support zip/jpeg/mp4/pdf files

Install
=======

[](#install)

```
composer require mbhanife/Laravel_File_uploader
```

```
php artisan migrate
php artisan storage:link
```

Add trait ' use UploadFile ' to user model

Create folder 'private' in storate/app directory

Copy this to config/filesystems.php into discks array

```
    'private' => [
            'driver' => 'local',
            'root' => storage_path('app/private')
        ],
```

Use
===

[](#use)

Upload file with uploader in controller Request must has 'file' field and 'is\_private' if it`s private file

```
    $uploader = new Uploader($request, new StorageManager());
    $uploader->upload();
```

Get file absolute path

```
    $file = File::find(x);
    $file->absolutePath();
```

Download file

```
    $file = File::find(x);
    $file->download();
```

Delete file

```
    $file = File::find(x);
    $file->delete();
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/027285ddd47c2882b8a792689f7e78104e998f2ccda7404a89383876f205ee63?d=identicon)[mbhanife](/maintainers/mbhanife)

---

Top Contributors

[![itstudent-mbh](https://avatars.githubusercontent.com/u/31465725?v=4)](https://github.com/itstudent-mbh "itstudent-mbh (5 commits)")

### Embed Badge

![Health badge](/badges/mbhanife-upload-file/health.svg)

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

PHPackages © 2026

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