blazor-lumen-boilerplate

File Storage

How-to guide for accessing the S3 file storage system. For additional information about S3 read the AWS S3 documentation.

Namespace

use App\Facades\File;

Create or Update

$key = "my-unique-file-key";
$path = "/uploads/uploaded-file.pdf";
File::Put($key, $path);

Get

$key = "my-unique-file-key";
$result = File::Get($key);

Delete

$key = "my-unique-file-key";
$result = File::Delete($key);