This is a demonstration of chunked upload in Laravel and Alpine JS. We are using the following additional liobraries for this demo:
- [https://github.com/pionl/laravel-chunk-upload](Laravel Chunked Upload)
- https://github.com/23/resumable.js(Resumable.js)
- After selecting the file on the front-end, javascript will calculate total number of chanks and other details of the file.
- Then start sending the file chunks (specific bite range of the file) to server using POST Request.
- Server will receive the chunks and make temporary chunk files.
- Server will check if all the chunks are received on every request.
- Once all the chunks are received, server will organize them and merge in right sequence.