Download the PHP package jmjl161100/laravel-chunk-upload without Composer
On this page you can find all versions of the php package jmjl161100/laravel-chunk-upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jmjl161100/laravel-chunk-upload
More information about jmjl161100/laravel-chunk-upload
Files in jmjl161100/laravel-chunk-upload
Package laravel-chunk-upload
Short Description Laravel chunk upload support package.
License MIT
Informations about the package laravel-chunk-upload
Laravel Chunk Upload
Features
- ✅ Chunked file upload support
- ✅ Multiple storage drivers (Local, Qiniu Cloud)
- ✅ Progress tracking
- ✅ Automatic chunk merging
- ✅ Laravel 11.x compatibility
Installation
-
Install via Composer: javascript async function uploadFile(file) { const chunkSize = 5 1024 1024; // 5MB const totalChunks = Math.ceil(file.size / chunkSize);
for (let i = 0; i < totalChunks; i++) { const chunk = file.slice(i chunkSize, (i + 1) chunkSize); await axios.post('/upload-chunk', { file_id: file.name, chunk: chunk, index: i }); }
await axios.post('/complete-upload', {file_id: file.name}); }
Drivers
Supported Drivers
-
Local Driver
- Chunk Storage: Chunks under the disk root configuration
- Final Files: Disk root configuration
- Qiniu
- Requires
qiniu/php-sdk
package - Direct upload to Qiniu Cloud Storage
- Requires
Security
If you discover any security issues, please email author instead of creating an issue.
License
MIT License (see LICENSE)
All versions of laravel-chunk-upload with dependencies
overtrue/laravel-filesystem-qiniu Version ^2.3
laravel/framework Version ^11.0 || ^12.0