dev-master
9999999-devAWS S3 plugin for Flysystem.
MIT
The Requires
plugin s3 aws flysystem geturl
1.0.0
1.0.0.0AWS S3 plugin for Flysystem.
MIT
The Requires
plugin s3 aws flysystem geturl
Wallogit.com
2017 © Pedro Peláez
AWS S3 plugin for Flysystem.
Using composer:, (*3)
composer require sistemi-etime/flysystem-plugin-aws-s3-v3
Or add it manually:, (*4)
{
"require": {
"sistemi-etime/flysystem-plugin-aws-s3-v3": "1.*"
}
}
This plugin requires a Filesystem instance using the [AwsS3Adapter adapter])., (*5)
use Etime\Flysystem\Plugin\AWS_S3 as AWS_S3_Plugin;
use League\Flysystem\AwsS3v3\AwsS3Adapter;
use League\Flysystem\Filesystem;
use Aws\S3\S3Client;
$client = new S3Client([
'credentials' => [
'key' => 'your-key',
'secret' => 'your-secret'
],
'region' => 'your-region',
'version' => 'latest|version',
]);
$adapter = new AwsS3Adapter($client, 'your-bucket-name');
$filesystem = new Filesystem($adapter);
$filesystem->addPlugin(new AWS_S3_Plugin\PresignedUrl());
$success = $filesystem->getPresignedUrl('/tmp/some/target');
AWS S3 plugin for Flysystem.
MIT
plugin s3 aws flysystem geturl
AWS S3 plugin for Flysystem.
MIT
plugin s3 aws flysystem geturl