I am using laravel 5.1
I want to create a progress bar based on how long the file takes to upload.
I have multiple input fields and want to upload / get a progress bar on my submit button.
What would be the best (or good) approach of doing this.
I basically have a form and already upload some file in the database.
But I do not know how to create a upload progressbar based on this.
I think the best way is to use a library like this one:
https://github.com/zimt28/laravel-jquery-file-upload
I'd probably use something like Dropzone js
http://www.dropzonejs.com/
It would give you the added extra functionality of allowing you to drag and drop files into an upload area. Also allowing for multiple file uploads.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With