PHPackages                             nabilanam/simpleupload - 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. nabilanam/simpleupload

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

nabilanam/simpleupload
======================

A dead simple laravel file uploader

v1.1.5(1y ago)49721MITPHP

Since Feb 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nabilanam/simpleupload)[ Packagist](https://packagist.org/packages/nabilanam/simpleupload)[ Docs](https://github.com/nabilanam/simpleupload)[ RSS](/packages/nabilanam-simpleupload/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

SimpleUpload
============

[](#simpleupload)

[![Latest Stable Version](https://camo.githubusercontent.com/8432a59118b26336f6e583a4c8a4b34d6256a8fe1839456c590d83be316de5da/68747470733a2f2f706f7365722e707567782e6f72672f6e6162696c616e616d2f73696d706c6575706c6f61642f76657273696f6e)](https://packagist.org/packages/nabilanam/simpleupload)[![Total Downloads](https://camo.githubusercontent.com/4622386b93840d7d52d8e71813d868e8806e587f08d205381b249bf2ac74d7ff/68747470733a2f2f706f7365722e707567782e6f72672f6e6162696c616e616d2f73696d706c6575706c6f61642f646f776e6c6f616473)](https://packagist.org/packages/nabilanam/simpleupload)[![Latest Unstable Version](https://camo.githubusercontent.com/16f321e1027533ea20b2647d26671e6f65b8b9857f1ac8f58375b822ef2a769c/68747470733a2f2f706f7365722e707567782e6f72672f6e6162696c616e616d2f73696d706c6575706c6f61642f762f756e737461626c65)](//packagist.org/packages/nabilanam/simpleupload)[![License](https://camo.githubusercontent.com/8dafc63fad7679690bd0deec4865ab37c9f5806bb6987798a42850d85172be2b/68747470733a2f2f706f7365722e707567782e6f72672f6e6162696c616e616d2f73696d706c6575706c6f61642f6c6963656e7365)](https://packagist.org/packages/nabilanam/simpleupload)[![composer.lock available](https://camo.githubusercontent.com/ca7e9b695783efbff6907b3205db8563ab236e7eddacc9ed4fa91d81a2cfcdbe/68747470733a2f2f706f7365722e707567782e6f72672f6e6162696c616e616d2f73696d706c6575706c6f61642f636f6d706f7365726c6f636b)](https://packagist.org/packages/nabilanam/simpleupload)

Dead simple Laravel file uploader.

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

[](#installation)

Via Composer:

```
$ composer require nabilanam/simpleupload
```

You can publish the config file:

```
php artisan vendor:publish --provider="NabilAnam\SimpleUpload\SimpleUploadServiceProvider"
```

Usage
-----

[](#usage)

```
// somewhere in your controller

use NabilAnam\SimpleUpload\SimpleUpload;

public function update(Request $request, YourModel $model)
{
    $model->image = (new SimpleUpload)
        ->file($request->image) // store normal request file
        ->fileBase64($request->image) // store file from base64 image data uri
        ->dirName('images') // directory to store the file into
        ->resizeImage(600, 100) // resize with intervention
        ->keepAspectRatio() // best fit aspect ratio by intervention
        ->intervention(function ($image) { // need more?
            return $image;
        })
        ->skipDay() // removes day directory from path
        ->skipMonth() // removes month directory from path
        ->skipYear() // removes year directory from path
        ->skipDirectory() // removes day, month, year directory from path
        ->deleteIfExists($model->image) // deletes file with given path
        ->save(); // processs && return final file path

    $model->save();

    return back();
}

// somewhere in your blade file

```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Pull requests are welcome!

Security
--------

[](#security)

If you discover any security related issues, please email [nabil\_code@outlook.com](mailto:nabil_code@outlook.com) instead of using the issue tracker.

Credits
-------

[](#credits)

- [nabilanam](https://github.com/nabilanam)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance45

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~236 days

Recently: every ~464 days

Total

9

Last Release

425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b1449c3f9b1662f16039a823cb54cd6d5f7370194b277af6ffa37071b295c27?d=identicon)[nabilanam](/maintainers/nabilanam)

---

Top Contributors

[![nabilanam](https://avatars.githubusercontent.com/u/19759913?v=4)](https://github.com/nabilanam "nabilanam (28 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")

---

Tags

laravelfileSimpleuploader

### Embed Badge

![Health badge](/badges/nabilanam-simpleupload/health.svg)

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

###  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)

PHPackages © 2026

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