PHP code example of innoboxrr / s3-resumable-uploads

1. Go to this page and download the library: Download innoboxrr/s3-resumable-uploads library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

innoboxrr / s3-resumable-uploads example snippets


/uploads/{file_identifier}/{filename}

// config/s3resumableuploads.php
return [
    'file_path' => 'uploads'
];

Route::post('/api/upload/initiate', InitiateUploadRequest::class);
Route::post('/api/upload/sign-part', SignPartUploadRequest::class);
Route::post('/api/upload/complete', CompleteUploadRequest::class);

Innoboxrr/
├── S3ResumableUploads/
│   ├── Http/
│   │   └── Requests/
│   │       └── S3Multipart/
│   │           ├── InitiateUploadRequest.php
│   │           ├── SignPartUploadRequest.php
│   │           ├── CompleteUploadRequest.php
│   └── Support/
│       └── Traits/
│           └── S3Client.php