PHPackages                             atess/laravel-plupload - 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. atess/laravel-plupload

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

atess/laravel-plupload
======================

Laravel/Plupload - Handle large file uploads

v12.0.0(7mo ago)01MITJavaScriptPHP ^8.2

Since Sep 27Pushed 7mo agoCompare

[ Source](https://github.com/atess/laravel-plupload)[ Packagist](https://packagist.org/packages/atess/laravel-plupload)[ RSS](/packages/atess-laravel-plupload/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

(Laravel 12 support has been added to this forked version.)

laravel-plupload
================

[](#laravel-plupload)

Laravel plupload support.

Handeling chunked uploads.

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

[](#installation)

Install using composer

```
composer require atess/laravel-plupload
```

Add the provider to `config/app.php`

```
'providers' => [
    JildertMiedema\LaravelPlupload\LaravelPluploadServiceProvider::class,
]
```

If you want to use te build in builder insert the facade

```
'aliases' => array(
    'Plupload' => JildertMiedema\LaravelPlupload\Facades\Plupload::class,
),
```

To publish the assets:

```
php artisan vendor:publish
```

Receiving files
---------------

[](#receiving-files)

Use this route to receive a file on the url `/upload`. Of course you can place this is a controller.

```
Route::post('/upload', function()
{
    return Plupload::receive('file', function ($file)
    {
        $file->move(storage_path() . '/test/', $file->getClientOriginalName());

        return 'ready';
    });
});
```

Sending files
-------------

[](#sending-files)

There are 3 ways to send files with this plugin.

### 1. Use default plupload html

[](#1-use-default-plupload-html)

Use the [examples](http://www.plupload.com/examples/) found on the plupload site.

#### Issues

[](#issues)

If you are encountering a Token Mismatch Exception;

```
TokenMismatchException in VerifyCsrfToken.php line 53:

```

add in your blade file

```

```

in your JS file, add

```
headers: {
        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
    },
```

Eg:

```
$('.js-uploader').pluploadQueue({

	// General settings
	runtimes: 'html5,flash,silverlight,html4',
	url: '/upload/',
	chunk_size: '200kb',
    rename: false,
    dragdrop: true,
	// add X-CSRF-TOKEN in headers attribute to fix this issue
	headers: {
        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
    },
	// add more overrides; see documentation...

});
```

### 2. Simple plupload builder

[](#2-simple-plupload-builder)

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

```
echo Plupload::make([
    'url' => 'upload',
    'chunk_size' => '100kb',
]);
```

**Note:** The options given to the make function are found on in the [pluload documentation](http://www.plupload.com/docs/Options).

### 3. Extended plupload builder

[](#3-extended-plupload-builder)

```
echo Plupload::init([
    'url' => 'upload',
    'chunk_size' => '100kb',
])->withPrefix('current')->createHtml();
```

Alternatives
------------

[](#alternatives)

Other packages supporting plupload:

- [fojuth/plupload](https://github.com/fojuth/plupload)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance63

Regular maintenance activity

Popularity1

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.7% 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 ~0 days

Total

2

Last Release

226d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11b26c55ed16eb078531eed2a191817d54f2cabc8c259652093d0d7982a9c832?d=identicon)[atess](/maintainers/atess)

---

Top Contributors

[![jildertmiedema](https://avatars.githubusercontent.com/u/3383186?v=4)](https://github.com/jildertmiedema "jildertmiedema (53 commits)")[![atess](https://avatars.githubusercontent.com/u/3304820?v=4)](https://github.com/atess "atess (8 commits)")[![aginev](https://avatars.githubusercontent.com/u/8341783?v=4)](https://github.com/aginev "aginev (3 commits)")[![gilbitron](https://avatars.githubusercontent.com/u/203882?v=4)](https://github.com/gilbitron "gilbitron (2 commits)")[![michalmrzyk](https://avatars.githubusercontent.com/u/3244228?v=4)](https://github.com/michalmrzyk "michalmrzyk (1 commits)")[![piroz](https://avatars.githubusercontent.com/u/8933647?v=4)](https://github.com/piroz "piroz (1 commits)")[![resoftw](https://avatars.githubusercontent.com/u/6096800?v=4)](https://github.com/resoftw "resoftw (1 commits)")[![stevebauman](https://avatars.githubusercontent.com/u/6421846?v=4)](https://github.com/stevebauman "stevebauman (1 commits)")[![tigitz](https://avatars.githubusercontent.com/u/1524501?v=4)](https://github.com/tigitz "tigitz (1 commits)")[![umarmw](https://avatars.githubusercontent.com/u/7967815?v=4)](https://github.com/umarmw "umarmw (1 commits)")[![askippers](https://avatars.githubusercontent.com/u/994820?v=4)](https://github.com/askippers "askippers (1 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")[![liorocks](https://avatars.githubusercontent.com/u/534610?v=4)](https://github.com/liorocks "liorocks (1 commits)")

---

Tags

laravelpluloadlarge files

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/atess-laravel-plupload/health.svg)

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

###  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.6M75](/packages/aws-aws-sdk-php-laravel)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M13](/packages/spatie-laravel-google-cloud-storage)[jildertmiedema/laravel-plupload

Laravel/Plupload - Handle large file uploads

177232.7k](/packages/jildertmiedema-laravel-plupload)[sopamo/laravel-filepond

Laravel backend module for filepond uploads

215272.2k3](/packages/sopamo-laravel-filepond)[elegantly/laravel-invoices

Store invoices safely in your Laravel application

23131.8k](/packages/elegantly-laravel-invoices)[yoelpc4/laravel-cloudinary

Laravel Cloudinary filesystem cloud driver.

3343.0k](/packages/yoelpc4-laravel-cloudinary)

PHPackages © 2026

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