dlouvard / laravel-bigupload by damoon271

Upload big Files with BigUpload : sthielen/BigUpload
28
0
1
Package Data
Maintainer Username: damoon271
Maintainer Contact: contact@damien-louvard.fr (Damien Louvard)
Package Create Date: 2015-12-29
Package Last Update: 2016-01-01
Language: JavaScript
License: Unknown
Last Refreshed: 2024-12-14 15:14:08
Package Statistics
Total Downloads: 28
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

laravel-bigupload

Use Laravel with the plugin bigupload

This repo use https://github.com/sthielen/BigUpload, you must import JS/CSS in your application.

  1. Features
  2. Installation
  3. Usage
  4. Options

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