PHP code example of innoboxrr / aws-file-manager

1. Go to this page and download the library: Download innoboxrr/aws-file-manager 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 / aws-file-manager example snippets


use Innoboxrr\AWSFileManager\Facades\AWSFileManager;

AWSFileManager::upload($filePath, $destinationPath);

use Innoboxrr\AWSFileManager\Facades\AWSFileManager;

$fileContent = AWSFileManager::download($filePath);

use Innoboxrr\AWSFileManager\Facades\AWSFileManager;

AWSFileManager::delete($filePath);
bash
php artisan vendor:publish --provider="Innoboxrr\\AWSFileManager\\AWSFileManagerServiceProvider"