PHPackages                             shortcodes/files-upload - 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. shortcodes/files-upload

ActiveLibrary

shortcodes/files-upload
=======================

Allows to easly upload files and store in tmp dir

0.0.8(6y ago)1308mitPHPPHP &gt;=7.0.0

Since Jun 17Pushed 6y agoCompare

[ Source](https://github.com/shortcodes/files-upload)[ Packagist](https://packagist.org/packages/shortcodes/files-upload)[ RSS](/packages/shortcodes-files-upload/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (8)Dependencies (1)Versions (10)Used By (0)

Files upload
============

[](#files-upload)

Package is created for speedup managing upload of files to Larave storage

\#Install

```
composer require shortcodes/files-upload

```

Usage
=====

[](#usage)

Below there is a list of instructions how to use package

\###Settings

Publish config file of module

```
php artisan vendor:publish --provider="Shortcodes\FilesUpload\FilesUploadPackageProvider"

```

Now you can modify settings of module in `config/upload.php`

\###Routes Add package routes to your routes file using predefined method:

```
Route::uploadRoutes()

```

It creates two routes

```
POST /files         - to add new files to tmp directory and
GET /files/{url}    - to view files

```

If file is image you can generate thumbnail using request query string parameters `width` and `hright`

\###Model

To be able to use package in module it is nessesary to add `CanUploadFiles` trait to model

```
class YourModel extends Model{
    use CanUploadFiles;

    ...
}

```

And provide `fileFields` property as array of fields that can be uploadable

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~11 days

Total

8

Last Release

2444d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30219536?v=4)[Roman Szymański](/maintainers/shortcodes)[@shortcodes](https://github.com/shortcodes)

---

Top Contributors

[![shortcodes](https://avatars.githubusercontent.com/u/30219536?v=4)](https://github.com/shortcodes "shortcodes (3 commits)")[![mg10110](https://avatars.githubusercontent.com/u/32193892?v=4)](https://github.com/mg10110 "mg10110 (1 commits)")

### Embed Badge

![Health badge](/badges/shortcodes-files-upload/health.svg)

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[laravolt/avatar

Turn name, email, and any other string into initial-based avatar or gravatar.

2.0k5.4M31](/packages/laravolt-avatar)[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)[aimeos/aimeos-core

Full-featured e-commerce components for high performance online shops

4.5k346.9k48](/packages/aimeos-aimeos-core)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M102](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)

PHPackages © 2026

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