pion / laravel-chunk-upload
Service for chunked upload with several js providers
Fund package maintenance!
pionl
revolut.me/martinpv7n
Installs: 2 656 929
Dependents: 16
Suggesters: 0
Security: 0
Stars: 609
Watchers: 13
Forks: 167
Open Issues: 34
Requires
- illuminate/console: 5.2 - 5.8 | ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0
- illuminate/filesystem: 5.2 - 5.8 | ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0
- illuminate/http: 5.2 - 5.8 | ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0
- illuminate/support: 5.2 - 5.8 | ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16.0 | ^3.52.0
- mockery/mockery: ^1.1.0 | ^1.3.0 | ^1.6.0
- overtrue/phplint: ^1.1 | ^2.0 | ^9.1
- phpunit/phpunit: 5.7 | 6.0 | 7.0 | 7.5 | 8.4 | ^8.5 | ^9.3 | ^10.0 | ^11.0
- dev-master
- v1.5.4
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.0
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.1
- v0.1
- dev-szepeviktor-larastan
- dev-klimov-paul-gitworkflow
This package is auto-updated.
Last update: 2024-11-25 17:20:05 UTC
README
Introduction
Laravel Chunk Upload simplifies chunked uploads with support for multiple JavaScript libraries atop Laravel's file upload system, designed with a minimal memory footprint. Features include cross-domain request support, automatic cleaning, and intuitive usage.
For example repository with integration tests, visit laravel-chunk-upload-example.
Before contributing, familiarize yourself with the guidelines outlined in CONTRIBUTION.md.
Installation
1. Install via Composer
composer require pion/laravel-chunk-upload
2. Publish the Configuration (Optional)
php artisan vendor:publish --provider="Pion\Laravel\ChunkUpload\Providers\ChunkUploadServiceProvider"
Usage
The setup involves three steps:
- Integrate your controller to handle file uploads. Instructions
- Define a route for the controller. Instructions
- Select your preferred frontend provider (multiple providers are supported in a single controller).
Simultaneous Uploads: The library must send the last chunk as the final one to ensure correct merging.
Custom Disk: Currently, it's recommended to use the basic storage setup (not linking the public folder). If you have time to verify its functionality, please PR the changes!
For detailed information and tips, refer to the Wiki or explore a working example in a separate repository with example.
Changelog
View the changelog in releases.
Contribution or Extension
Review the contribution guidelines before submitting your PRs (and utilize the example repository for running integration tests).
Refer to CONTRIBUTING.md for contribution instructions. All contributions are welcome.
Compatibility
Though not tested via automation scripts, Laravel 5/6 should still be supported.
Copyright and License
laravel-chunk-upload was authored by Martin Kluska and is released under the MIT License.
Copyright (c) 2017 and beyond Martin Kluska and all contributors (Thank you ❤️)