PHPackages                             drjdr/laravel-chunk-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. [File &amp; Storage](/categories/file-storage)
4. /
5. drjdr/laravel-chunk-upload

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

drjdr/laravel-chunk-upload
==========================

Service for chunked upload with several js providers

024.2kPHP

Since Mar 12Pushed 2y agoCompare

[ Source](https://github.com/drjdr/laravel-chunk-upload)[ Packagist](https://packagist.org/packages/drjdr/laravel-chunk-upload)[ RSS](/packages/drjdr-laravel-chunk-upload/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Chunk Upload
====================

[](#laravel-chunk-upload)

[![Total Downloads](https://camo.githubusercontent.com/471976434d8e85d81f07f52c0a26bd86a721b49ada97d3d4e2ec6373d8d5c323/68747470733a2f2f706f7365722e707567782e6f72672f70696f6e2f6c61726176656c2d6368756e6b2d75706c6f61642f646f776e6c6f6164733f666f726d61743d666c6174)](https://packagist.org/packages/pion/laravel-chunk-upload)[![Build Status](https://github.com/pionl/laravel-chunk-upload/workflows/build/badge.svg)](https://github.com/pionl/laravel-chunk-upload/actions)[![Latest Stable Version](https://camo.githubusercontent.com/ac0d6ba28066052f1ebe536b6845679f30066bfd677d2330892b905dc233aa8c/68747470733a2f2f706f7365722e707567782e6f72672f70696f6e2f6c61726176656c2d6368756e6b2d75706c6f61642f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/pion/laravel-chunk-upload)[![Latest Unstable Version](https://camo.githubusercontent.com/3d508888ef0019e456686e6babd8ad9aa38000326fa0b39f08a896e61f462962/68747470733a2f2f706f7365722e707567782e6f72672f70696f6e2f6c61726176656c2d6368756e6b2d75706c6f61642f762f756e737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/pion/laravel-chunk-upload)[![License](https://camo.githubusercontent.com/4a059141927156629435b4fceb9959b3e499bb4e506db776bc4ddff6617a112a/68747470733a2f2f706f7365722e707567782e6f72672f70696f6e2f6c61726176656c2d6368756e6b2d75706c6f61642f6c6963656e7365)](https://packagist.org/packages/pion/laravel-chunk-upload)

Introduction
------------

[](#introduction)

> Supports Laravel from 5.2 to 9 (covered by integration tests for 7/8/9 versions).

Easy to use service/library for chunked upload with supporting multiple JS libraries on top of Laravel's file upload with low memory footprint in mind.

Supports feature as [cross domains requests](https://github.com/pionl/laravel-chunk-upload/wiki/cross-domain-requests), automatic clean schedule and easy usage.

Example repository with **integration tests** can be found in [laravel-chunk-upload-example](https://github.com/pionl/laravel-chunk-upload-example).

> Before adding pull requests read CONTRIBUTION.md. Help me fix your bugs by debugging your issues using XDEBUG (and try to do a fix - it will help you become better).

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

[](#installation)

**1. Install via composer**

```
composer require pion/laravel-chunk-upload

```

**2. Publish the config (Optional)**

```
php artisan vendor:publish --provider="Pion\Laravel\ChunkUpload\Providers\ChunkUploadServiceProvider"

```

Usage
-----

[](#usage)

Setup consists of 3 steps:

1. Integrate your controller that will handle the file upload. [How to](https://github.com/pionl/laravel-chunk-upload/wiki/controller)
2. Set a route for the controller. [How to](https://github.com/pionl/laravel-chunk-upload/wiki/routing)
3. Choose your front-end provider below (we support multiple providers in single controller)

LibraryWikisingle &amp; chunk uploadsimultaneous uploadsIn [example project](https://github.com/pionl/laravel-chunk-upload-example)Author[resumable.js](https://github.com/23/resumable.js)[Wiki](https://github.com/pionl/laravel-chunk-upload/wiki/resumable-js)✔️✔️✔️[@pionl](https://github.com/pionl)[DropZone](https://github.com/dropzone/dropzone)[Wiki](https://github.com/pionl/laravel-chunk-upload/wiki/dropzone)✔️✔️✔️[@pionl](https://github.com/pionl)[jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload)[Wiki](https://github.com/pionl/laravel-chunk-upload/wiki/jquery-file-upload)✔️✖️✔️[@pionl](https://github.com/pionl)[Plupload](https://github.com/moxiecode/plupload)[Wiki](https://github.com/pionl/laravel-chunk-upload/wiki/plupload)✔️✖️✖️[@pionl](https://github.com/pionl)[simple uploader](https://github.com/simple-uploader)✖️✔️✖️✖️[@dyktek](https://github.com/dyktek)[ng-file-upload](https://github.com/danialfarid/ng-file-upload)[Wiki](https://github.com/pionl/laravel-chunk-upload/wiki/ng-file-upload)✔️✖️✖️[@L3o-pold](https://github.com/L3o-pold)**Simultaneous uploads:** The library must send last chunk as last, otherwise the merging will not work correctly.

**Custom disk:** At this moment I recommend using the basic storage setup (not linking public folder). It is not tested (Have free time to ensure it is working? PR the changes!).

For more detailed information (tips) use the [Wiki](https://github.com/pionl/laravel-chunk-upload/wiki) or for working example continue to separate repository with [example](https://github.com/pionl/laravel-chunk-upload-example).

Changelog
---------

[](#changelog)

Can be found in [releases](https://github.com/pionl/laravel-chunk-upload/releases).

Contribution or extending
-------------------------

[](#contribution-or-extending)

> Read contribution before your PR (and use example repository to run integration tests).

See [CONTRIBUTING.md](CONTRIBUTING.md) for how to contribute changes. All contributions are welcome.

Compatibility
-------------

[](#compatibility)

> Laravel 5/6 should be still supported but we are not testing them via automation sccripts

VersionPHP10.\*8.1, 8.29.\*8.0, 8.18.\*7.4, 8.0, 8.17.\*7.4Copyright and License
---------------------

[](#copyright-and-license)

[laravel-chunk-upload](https://github.com/pionl/laravel-chunk-upload)was written by [Martin Kluska](http://kluska.cz) and is released under the [MIT License](LICENSE.md).

Copyright (c) 2016 and beyond Martin Kluska

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 65.6% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55947988?v=4)[drjdr](/maintainers/drjdr)[@drjdr](https://github.com/drjdr)

---

Top Contributors

[![pionl](https://avatars.githubusercontent.com/u/1878831?v=4)](https://github.com/pionl "pionl (40 commits)")[![drjdr](https://avatars.githubusercontent.com/u/55947988?v=4)](https://github.com/drjdr "drjdr (3 commits)")[![Colbydude](https://avatars.githubusercontent.com/u/575593?v=4)](https://github.com/Colbydude "Colbydude (2 commits)")[![dyktek](https://avatars.githubusercontent.com/u/10923042?v=4)](https://github.com/dyktek "dyktek (1 commits)")[![HOTAIBI](https://avatars.githubusercontent.com/u/23198813?v=4)](https://github.com/HOTAIBI "HOTAIBI (1 commits)")[![ivandokov](https://avatars.githubusercontent.com/u/2357455?v=4)](https://github.com/ivandokov "ivandokov (1 commits)")[![joni2back](https://avatars.githubusercontent.com/u/2049935?v=4)](https://github.com/joni2back "joni2back (1 commits)")[![klimov-paul](https://avatars.githubusercontent.com/u/1482054?v=4)](https://github.com/klimov-paul "klimov-paul (1 commits)")[![L3o-pold](https://avatars.githubusercontent.com/u/4710495?v=4)](https://github.com/L3o-pold "L3o-pold (1 commits)")[![rpaggi](https://avatars.githubusercontent.com/u/1770406?v=4)](https://github.com/rpaggi "rpaggi (1 commits)")[![shivank44](https://avatars.githubusercontent.com/u/52524465?v=4)](https://github.com/shivank44 "shivank44 (1 commits)")[![TheFrankman](https://avatars.githubusercontent.com/u/1402017?v=4)](https://github.com/TheFrankman "TheFrankman (1 commits)")[![tomswinkels](https://avatars.githubusercontent.com/u/9036151?v=4)](https://github.com/tomswinkels "tomswinkels (1 commits)")[![torta](https://avatars.githubusercontent.com/u/691621?v=4)](https://github.com/torta "torta (1 commits)")[![trideout](https://avatars.githubusercontent.com/u/3935944?v=4)](https://github.com/trideout "trideout (1 commits)")[![agewriter](https://avatars.githubusercontent.com/u/61108703?v=4)](https://github.com/agewriter "agewriter (1 commits)")[![vedmant](https://avatars.githubusercontent.com/u/5052406?v=4)](https://github.com/vedmant "vedmant (1 commits)")[![buschmann23](https://avatars.githubusercontent.com/u/4329915?v=4)](https://github.com/buschmann23 "buschmann23 (1 commits)")[![dgitts](https://avatars.githubusercontent.com/u/4130836?v=4)](https://github.com/dgitts "dgitts (1 commits)")

### Embed Badge

![Health badge](/badges/drjdr-laravel-chunk-upload/health.svg)

```
[![Health](https://phpackages.com/badges/drjdr-laravel-chunk-upload/health.svg)](https://phpackages.com/packages/drjdr-laravel-chunk-upload)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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