laravel-bigupload
Use Laravel with the plugin bigupload, (*1)
This repo use https://github.com/sthielen/BigUpload, you must import JS/CSS in your application., (*2)
- Features
- Installation
- Usage
- Options
, (*3)
Features
- Upload large files over the server configuration
- ProgressBar with time remaining
- Button upload/resume/Cancel
, (*4)
Installation
In your project base directory run, (*5)
composer require "dlouvard/laravel-bigupload":"master@dev"
To bring up the config file run, if you want to customize, (*6)
php artisan vendor:publish
Then edit config/app.php and add the service provider within the providers array., (*7)
'providers' => array(
...
Dlouvard\LaravelBigupload\BiguploadServiceProvider::class,
, (*8)
Usage
- Import in your controller or layout bigupload.js and bigupload.css
- In your file.blade.php install the block bigupload with the javascript
- Prepare you ajax file with "Try{...}" and the response in JSON
, (*9)
Options
I propose a customization file for the bigupload.js send cancel function, (*10)