Skip to content

Instantly share code, notes, and snippets.

@yaakov123
Last active May 19, 2021 12:11
Show Gist options
  • Save yaakov123/9e05d14a80ee949f14c9602317d7cae6 to your computer and use it in GitHub Desktop.
Save yaakov123/9e05d14a80ee949f14c9602317d7cae6 to your computer and use it in GitHub Desktop.
<?php
$adapter = Storage::getAdapter();
$client = $adapter->getClient();
$bucket = $adapter->getBucket();
$cmd = $client->getCommand('PutObject', [
'Bucket' => $bucket,
'Key' => 'ItWorks'
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment