PHPackages                             mobilemaster/laravel-file-input - 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. mobilemaster/laravel-file-input

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

mobilemaster/laravel-file-input
===============================

Laravel 5/File Input - Handle large file uploads

1.4(8y ago)032MITJavaScriptPHP &gt;=5.5.0

Since Jan 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mobilemaster128/laravel-file-input)[ Packagist](https://packagist.org/packages/mobilemaster/laravel-file-input)[ RSS](/packages/mobilemaster-laravel-file-input/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

laravel-file-input
==================

[](#laravel-file-input)

Laravel bootstrap file input support.

Handeling chunked uploads.

1. Installation
---------------

[](#1-installation)

1. Require the package using composer:

    ```
    composer require mobilemaster/laravel-file-input

    ```
2. Add the service provider to the `providers` in `config/app.php`:

    > Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider

    ```
    MobileMaster\LaravelFileInput\ServiceProvider::class,
    ```
3. Publish the public assets:

    ```
    php artisan vendor:publish --provider="MobileMaster\LaravelFileInput\ServiceProvider" --tag=assets

    ```
4. Configuration

    First, publish the configuration file:

    ```
    php artisan vendor:publish --provider="MobileMaster\LaravelFileInput\ServiceProvider" --tag=config

    ```

    Now, edit `config/fileinput.php` to configure the lang.

2. Updating
-----------

[](#2-updating)

1. To update this package, first update the composer package:

    ```
    composer update mobilemaster/laravel-file-input

    ```
2. Then, publish the public assets with the `--force` flag to overwrite existing files

    ```
    php artisan vendor:publish --provider="MobileMaster\LaravelFileInput\ServiceProvider" --tag=assets --force

    ```

3. Sending files
----------------

[](#3-sending-files)

There are 2 ways to send files with this plugin.

### 1. Simple File Input builder

[](#1-simple-file-input-builder)

To use the builder for creating send form you can use this function:

```
echo FileInput::make([
    'uploadUrl' => 'upload',
]);
```

**Note:** The options given to the make function are found on in the [file input documentation](https://github.com/kartik-v/bootstrap-fileinput/wiki/09.-%E5%8F%82%E6%95%B0).

2. Extended File Input builder
------------------------------

[](#2-extended-file-input-builder)

```
echo FileInput::init([
    'uploadUrl' => 'upload',
])->withSuffix('current')->createHtml();
```

4. Receiving files
------------------

[](#4-receiving-files)

Use this controller to receive a file on the url `/upload`.

```
public function imageFileUpload(Request $request)
{
    $path = $request->file('file_data')->store('uploads');
    return [
        'error' => NULL,
        'path' => $path,
    ];
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2985d ago

### Community

Maintainers

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

---

Top Contributors

[![mobilemaster128](https://avatars.githubusercontent.com/u/20424511?v=4)](https://github.com/mobilemaster128 "mobilemaster128 (46 commits)")

---

Tags

laravellarge filesfile input

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mobilemaster-laravel-file-input/health.svg)

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

###  Alternatives

[aws/aws-sdk-php-laravel

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

1.7k35.6M74](/packages/aws-aws-sdk-php-laravel)[unisharp/laravel-filemanager

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

2.2k3.3M73](/packages/unisharp-laravel-filemanager)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M12](/packages/spatie-laravel-google-cloud-storage)[zanysoft/laravel-zip

laravel-zip is the world's leading zip utility for file compression and backup.

3142.8M15](/packages/zanysoft-laravel-zip)[jildertmiedema/laravel-plupload

Laravel/Plupload - Handle large file uploads

177232.7k](/packages/jildertmiedema-laravel-plupload)[dcblogdev/laravel-dropbox

A Laravel Dropbox v2 package

3263.0k](/packages/dcblogdev-laravel-dropbox)

PHPackages © 2026

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