Skip to content
masterclass Buddy

AWS Services · Class

S3Client

S3Client is the AWS SDK for PHP client for Amazon S3. It sends S3 commands and includes helpers for uploads, downloads, object checks, and pre-signed URLs.

Last updated

Syntax

public __construct(array $args): mixed
public createPresignedRequest(CommandInterface $command, mixed $expires, array $options = []): RequestInterface
public execute(CommandInterface $command): mixed
public executeAsync(CommandInterface $command): mixed

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • S3ClientInterface
  • S3ClientTrait
  • AwsClient
  • CommandInterface
  • createPresignedRequest
  • execute
  • executeAsync
  • getCommand

Source: Class-Aws-S3-S3Client - AWS SDK for PHP V3. Checked 2026-11-03.