Service for chunked upload with several js providers
kladislav/laravel-chunk-upload is a Laravel package for service for chunked upload with several js providers.
It currently has 6 GitHub stars and 21.539 downloads on Packagist.
Install it with composer require kladislav/laravel-chunk-upload.
Discover more Laravel packages by kladislav
or browse all Laravel packages to compare alternatives.
Last updated
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. Currently supports Laravel 5+ (with 5.5 Auto discovery) with features as cross domains requests, automatic clean schedule and easy usage.
1. Install via composer
composer require kladislav/laravel-chunk-upload
2. Add the service provider (Laravel 5.4 and below - supports Auto discovery)
\Kladislav\LaravelChunkUpload\ServiceProvider::class
3. Publish the config (Laravel 5.2 and above, optional)
php artisan vendor:publish --provider="Kladislav\LaravelChunkUpload\ServiceProvider"
Setup is composed in 3 steps:
| Library | Wiki | single & chunk upload | simultaneous uploads | In example project | Author | |---- |----|----|----| ---- | ---- | | resumable.js | Wiki | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | @pionl | | DropZone | Wiki | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | @pionl | | jQuery-File-Upload | Wiki | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_check_mark: | @pionl | | Plupload | Wiki | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | @pionl | | simple uploader | :heavy_multiplication_x: | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | @dyktek | | ng-file-upload | Wiki | :heavy_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | @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 to use 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 or for working example continue to separate repository with example.
Can be found in releases.
See CONTRIBUTING.md for how to contribute changes. All contributions are welcome.
laravel-chunk-upload was written by Martin Kluska and is released under the MIT License.
Copyright (c) 2016-2019 Martin Kluska