dlouvard/laravel-bigupload

There is no license information available for the latest version (dev-master) of this package.

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

dev-master 2016-01-01 09:47 UTC

This package is not auto-updated.

Last update: 2020-02-21 16:41:15 UTC


README

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