Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $s3 = new S3Client([
- 'version' => 'latest',
- 'region' => 'ru-1a',
- 'credentials' => [
- 'key' => '...',
- 'secret' => '...',
- ],
- 'endpoint' => 'https://s3.selcdn.ru'
- ]);
- $s3->putObject([
- 'Bucket' => 'code-reffection-com-codes',
- 'Key' => '...',
- 'Body' => $'...',
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement