1- # Laravel Chunk Uploader
1+ # Laravel Upload Handler
22
3- Chunk Uploader Package For Laravel
3+ Upload Handler Package For Laravel
44
5- [ ![ Github Actions Badge] ( https://github.com/coding-socks/laravel-chunk-uploader /workflows/test/badge.svg )] ( https://github.com/coding-socks/laravel-chunk-uploader /actions?query=workflow%3A"test" )
6- [ ![ Downloads Badge] ( https://poser.pugx.org/coding-socks/laravel-chunk-uploader /downloads )] ( https://packagist.org/packages/coding-socks/laravel-chunk-uploader )
7- [ ![ Version Badge] ( https://poser.pugx.org/coding-socks/laravel-chunk-uploader /version )] ( https://packagist.org/packages/coding-socks/laravel-chunk-uploader )
8- [ ![ Coverage Badge] ( https://scrutinizer-ci.com/g/coding-socks/laravel-chunk-uploader /badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/coding-socks/laravel-chunk-uploader / )
9- [ ![ License Badge] ( https://poser.pugx.org/coding-socks/laravel-chunk-uploader /license )] ( https://packagist.org/packages/coding-socks/laravel-chunk-uploader )
5+ [ ![ Github Actions Badge] ( https://github.com/coding-socks/laravel-upload-handler /workflows/test/badge.svg )] ( https://github.com/coding-socks/laravel-upload-handler /actions?query=workflow%3A"test" )
6+ [ ![ Downloads Badge] ( https://poser.pugx.org/coding-socks/laravel-upload-handler /downloads )] ( https://packagist.org/packages/coding-socks/laravel-upload-handler )
7+ [ ![ Version Badge] ( https://poser.pugx.org/coding-socks/laravel-upload-handler /version )] ( https://packagist.org/packages/coding-socks/laravel-upload-handler )
8+ [ ![ Coverage Badge] ( https://scrutinizer-ci.com/g/coding-socks/laravel-upload-handler /badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/coding-socks/laravel-upload-handler / )
9+ [ ![ License Badge] ( https://poser.pugx.org/coding-socks/laravel-upload-handler /license )] ( https://packagist.org/packages/coding-socks/laravel-upload-handler )
1010
1111This package helps integrate a Laravel application with chunk uploader libraries eg.
1212[ DropzoneJS] ( https://www.dropzonejs.com/ ) and
@@ -53,7 +53,7 @@ project at the moment is [tus](https://tus.io/).
5353You can easily install this package using Composer, by running the following command:
5454
5555``` bash
56- composer require coding-socks/laravel-chunk-uploader
56+ composer require coding-socks/laravel-upload-handler
5757```
5858
5959### Requirements
@@ -73,7 +73,7 @@ Route::any('/my-route', 'MyController@myFunction');
7373 - Using dependency injection
7474``` php
7575use Illuminate\Http\Request;
76- use CodingSocks\ChunkUploader \UploadHandler;
76+ use CodingSocks\UploadHandler \UploadHandler;
7777
7878class MyController extends Controller
7979{
@@ -86,7 +86,7 @@ class MyController extends Controller
8686 - Resolving from the app container
8787``` php
8888use Illuminate\Http\Request;
89- use CodingSocks\ChunkUploader \UploadHandler;
89+ use CodingSocks\UploadHandler \UploadHandler;
9090
9191class MyController extends Controller
9292{
@@ -110,7 +110,7 @@ library can be differ very much. Also, when possible the library gives the oppor
110110
111111### Events
112112
113- Once a file upload is finished a ` \CodingSocks\ChunkUploader \Event\FileUploaded ` is triggered. This event contains
113+ Once a file upload is finished a ` \CodingSocks\UploadHandler \Event\FileUploaded ` is triggered. This event contains
114114the disk and the path of the uploaded file.
115115[ Registering Events & Listeners from Laravel] ( https://laravel.com/docs/5.8/events#registering-events-and-listeners )
116116
@@ -139,8 +139,8 @@ app()->make(UploadManager::class)->extend('my_driver', function () {
139139});
140140```
141141
142- If you are adding a driver you need to extend the ` \CodingSocks\ChunkUploader \Driver\UploadDriver ` abstract class, for
143- which you can use the shipped drivers (e.g. ` \CodingSocks\ChunkUploader \Driver\BlueimpUploadDriver ` ) as an example as to
142+ If you are adding a driver you need to extend the ` \CodingSocks\UploadHandler \Driver\UploadDriver ` abstract class, for
143+ which you can use the shipped drivers (e.g. ` \CodingSocks\UploadHandler \Driver\BlueimpUploadDriver ` ) as an example as to
144144how.
145145
146146If you wrote a custom driver that others might find useful, please consider adding it to the package via a pull request.
@@ -182,7 +182,7 @@ This driver handles requests made by the DropzoneJS client library.
182182
183183This driver handles requests made by the Flow.js client library.
184184
185- Because of [ Issue #44 ] ( https://github.com/coding-socks/laravel-chunk-uploader /issues/44 ) you must use ` forceChunkSize `
185+ Because of [ Issue #44 ] ( https://github.com/coding-socks/laravel-upload-handler /issues/44 ) you must use ` forceChunkSize `
186186option.
187187
188188### ng-file-upload driver
@@ -203,7 +203,7 @@ This driver handles requests made by the Plupload client library.
203203
204204This driver handles requests made by the Resumable.js client library.
205205
206- Because of [ Issue #44 ] ( https://github.com/coding-socks/laravel-chunk-uploader /issues/44 ) you must use ` forceChunkSize `
206+ Because of [ Issue #44 ] ( https://github.com/coding-socks/laravel-upload-handler /issues/44 ) you must use ` forceChunkSize `
207207option.
208208
209209### simple-uploader.js driver
@@ -212,7 +212,7 @@ option.
212212
213213This driver handles requests made by the simple-uploader.js client library.
214214
215- Because of [ Issue #44 ] ( https://github.com/coding-socks/laravel-chunk-uploader /issues/44 ) you must use ` forceChunkSize `
215+ Because of [ Issue #44 ] ( https://github.com/coding-socks/laravel-upload-handler /issues/44 ) you must use ` forceChunkSize `
216216option.
217217
218218## Identifiers
0 commit comments