PHPackages                             dosarkz/laravel-uploader - 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. [Image &amp; Media](/categories/media)
4. /
5. dosarkz/laravel-uploader

ActiveLibrary[Image &amp; Media](/categories/media)

dosarkz/laravel-uploader
========================

Uploading Class for laravel 5

0.2.4(8y ago)227511PHP

Since Apr 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dosarkz/laravel-uploader)[ Packagist](https://packagist.org/packages/dosarkz/laravel-uploader)[ RSS](/packages/dosarkz-laravel-uploader/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (1)

laravel-uploader
================

[](#laravel-uploader)

Laravel 5 image and file uploader with resizer

Install
=======

[](#install)

```
composer require dosarkz/laravel-uploader

```

Add to config/app.php
---------------------

[](#add-to-configappphp)

Provider
--------

[](#provider)

```
Dosarkz\LaravelUploader\Provider\LaravelUploaderServiceProvider::class

```

Alias
-----

[](#alias)

```
'Uploader' => Dosarkz\LaravelUploader\Facade\LaravelUploaderFacade::class

```

Sample image upload
-------------------

[](#sample-image-upload)

##### Uploader::image(uploaded\_file, destination, resize, imageWidth, imageHeight, thumbWidth, thumbHeight)

[](#uploaderimageuploaded_file-destination-resize-imagewidth-imageheight-thumbwidth-thumbheight)

- @uploaded\_file - instance of UploadedFile
- @destination - the path to the image, 'images/articles', string
- @resize - A parameter that determines to use compression or not. In the case of using need to fill one of the parameters the resolution of the image, true or false, boolean
- @imageWidth, @imageHeight - the parameters of the image in pixels, 100, numeric
- @thumbWidth, @thumbHeight - the parameters of the thumbnail in pixels, 100, numeric

```
  use Uploader;

  $image_uploader  = Uploader::image($request->file('avatar'));
  $image = Image::create([
      'name' => $image_uploader->getFileName(),
      'thumb' => $image_uploader->getThumb(),
      'path' => $image_uploader->getDestination(),
  ]);

```

Sample file upload
------------------

[](#sample-file-upload)

##### Uploader::file(uploaded\_file, destination)

[](#uploaderfileuploaded_file-destination)

- @uploaded\_file - instance of UploadedFile
- @destination - the path to the image, 'images/articles', string

```
use Uploader;

 $image_uploader  = Uploader::file($request->file('file'));

  $file = File::create([
      'name' => $image_uploader->getFileName(),
      'path' => $image_uploader->getDestination(),
      'user_id' => auth()->user()->id
  ]);

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

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

Recently: every ~62 days

Total

6

Last Release

3112d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e4605bd8a1aedc6a481145cfc81af9dd5ec996377bc7bbbefc580ae76db2af8?d=identicon)[dosarkz](/maintainers/dosarkz)

---

Top Contributors

[![dosarkz](https://avatars.githubusercontent.com/u/6192403?v=4)](https://github.com/dosarkz "dosarkz (19 commits)")

---

Tags

fileimagelaravellaravel-uploaderupload

### Embed Badge

![Health badge](/badges/dosarkz-laravel-uploader/health.svg)

```
[![Health](https://phpackages.com/badges/dosarkz-laravel-uploader/health.svg)](https://phpackages.com/packages/dosarkz-laravel-uploader)
```

###  Alternatives

[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k52.6M138](/packages/league-glide)[intervention/image-laravel

Laravel Integration of Intervention Image

1558.1M160](/packages/intervention-image-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

506511.0k27](/packages/bkwld-croppa)[intervention/image-driver-vips

libvips driver for Intervention Image

47144.1k10](/packages/intervention-image-driver-vips)[laravel-at/laravel-image-sanitize

A small but handy package to prevent malicious code execution coming into your application through uploaded image files.

29063.8k](/packages/laravel-at-laravel-image-sanitize)

PHPackages © 2026

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