Skip to content

2.3.0

Latest

Choose a tag to compare

@steinkel steinkel released this 29 May 16:39
ed32c47

New Features

  • S3Trait::setPublicPermissions(string $key) — sets public-read ACL on an existing S3 object
  • S3Trait::listFilesWithUrls(string $prefix, int $maxKeys) — lists objects in a bucket and appends a presigned GET URL to each result
  • S3Trait::listFiles(string $prefix, int $maxKeys) — lists objects in a bucket, optionally filtered by prefix

These methods were present in the 1.x branch and are now available in 2.x. All three are adapted to the 2.x conventions (getS3Client(), Configure::readOrFail(), AwsException wrapping).