phpjquerylaraveljqxhr

Laravel 5.4 Chunk Upload and Resumable upload for bigger file


I want to know if Laravel 5.4 or greater supports chunked file upload for large file size also resumable support in case of network issue.

I have to upload big size videos but due to the network issue, this becomes heck to upload those.

So is there any package or anything. Currently, I am using ajax file upload.


Solution

  • Yes, try to use this library: https://packagist.org/packages/pion/laravel-chunk-upload

    Installation:

    composer require pion/laravel-chunk-upload
    

    Add service provider:

    \Pion\Laravel\ChunkUpload\Providers\ChunkUploadServiceProvider::class