Skip to content

Add support for chunked uploads

Pre-release
Pre-release
Compare
Choose a tag to compare
@Sopamo Sopamo released this 10 Mar 16:08
· 3 commits to beta/v1.0 since this release
ee957ab

Breaking changes:

The getPathFromServerId no longer returns the full path to the file. Instead it returns the "disk"-local path.
For example:

// Before
/var/www/html/public/storage/filepond/yourFile.jpg
// After
filepond/yourFile.jpg

You have to use Laravel's storage class to access the files now:

$filepond = app(Filepond::class);
$disk = config('filepond.temporary_files_disk');

$filePath = $filepond->getPathFromServerId($serverId);
Storage::disk($disk)->get($filePath); // This returns the file contents as a string