dlouvard / laravel-bigupload
Upload big Files with BigUpload : sthielen/BigUpload
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.5.9
- illuminate/support: 5.1.*|5.2.*
This package is auto-updated.
Last update: 2024-10-28 20:34:53 UTC
README
Use Laravel with the plugin bigupload
This repo use https://github.com/sthielen/BigUpload, you must import JS/CSS in your application.
Features
- Upload large files over the server configuration
- ProgressBar with time remaining
- Button upload/resume/Cancel
Installation
In your project base directory run
composer require "dlouvard/laravel-bigupload":"master@dev"
To bring up the config file run, if you want to customize
php artisan vendor:publish
Then edit config/app.php
and add the service provider within the providers
array.
'providers' => array(
...
Dlouvard\LaravelBigupload\BiguploadServiceProvider::class,
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
Options
I propose a customization file for the bigupload.js send cancel function