PHPackages                             vmorozov/laravel-file-uploads - 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. vmorozov/laravel-file-uploads

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

vmorozov/laravel-file-uploads
=============================

This package provides a convenient way to upload files to the cloud storage amazon s3 or locally fast in Laravel

v1.1.8(5y ago)64.0k[2 issues](https://github.com/freezer278/laravel-file-uploads/issues)1MITPHPPHP &gt;=7.0

Since Aug 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/freezer278/laravel-file-uploads)[ Packagist](https://packagist.org/packages/vmorozov/laravel-file-uploads)[ RSS](/packages/vmorozov-laravel-file-uploads/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (1)

laravel-file-uploads
====================

[](#laravel-file-uploads)

A package for convenient way to upload files to the different storages

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

[](#installation)

1. Run the command below to add this package:

```
composer require vmorozov/laravel-file-uploads

```

2. Open your `config/app.php` and add the following to the providers array:

```
Vmorozov\FileUploads\FileUploadsServiceProvider::class
```

3. Run the command below to publish the package config file config/file\_uploads.php:

```
php artisan vendor:publish

```

Configuration
-------------

[](#configuration)

Go to the file

```
config/file_uploads.php

```

There you have an ability to set:

1. default storage to upload file (default is: local)
2. default image quality (default is: 100)
3. default folder to put your uploads (default is: public/user-uploads)

Usage
-----

[](#usage)

#### To upload file:

[](#to-upload-file)

```
public function store(Request $request)
{
    // This will upload your file to the default folder of selected in config storage
    Uploader::uploadFile($request->file('some_file'));

    // This will upload your file to the given as second parameter path of default storage
    Uploader::uploadFile($request->file('some_file'), 'path/to/upload');

    // This will upload your file to the given storage
    Uploader::uploadFile($request->file('some_file'), 'path/to/upload', 'storage_name');

    // This will also resize image to the given width and height
    Uploader::uploadFile($request->file('some_file'), 'path/to/upload', 'storage_name');
}
```

#### To upload base64 string of image:

[](#to-upload-base64-string-of-image)

```
public function store(Request $request)
{
    // This will upload your file to the default folder of selected in config storage
    Uploader::uploadBase64Image($request->input('image'));

    // This will upload your file to the given as second parameter path of default storage
    Uploader::uploadFile($request->input('image'), 'path/to/upload');

    // This will upload your file to the given storage
    Uploader::uploadFile($request->input('image'), 'path/to/upload', 'storage_name');

    // This will also resize image to the given width and height
    Uploader::uploadFile($request->input('image'), 'path/to/upload', 'storage_name');
}
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~252 days

Total

13

Last Release

2128d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

amazonawscloudfile-uploadfilesystemlaravellaravel-5-packagelocals3laravels3awsfilesystemsfile uploadsilluminateamazon-s3cloud uploads

### Embed Badge

![Health badge](/badges/vmorozov-laravel-file-uploads/health.svg)

```
[![Health](https://phpackages.com/badges/vmorozov-laravel-file-uploads/health.svg)](https://phpackages.com/packages/vmorozov-laravel-file-uploads)
```

###  Alternatives

[unisharp/laravel-filemanager

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

2.1k3.4M81](/packages/unisharp-laravel-filemanager)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k37.3M83](/packages/aws-aws-sdk-php-laravel)[intervention/image-laravel

Laravel Integration of Intervention Image

1558.1M161](/packages/intervention-image-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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