yii2-aws-s3
yii2-aws-s3 copied to clipboard
An Amazon S3 component for Yii2
fix(readme) update doc for setting params at config/main.php
Configuring like in readme throws error ``` 'components' => [ // ... 's3' => [ 'class' => 'frostealth\yii2\aws\s3\Service', 'credentials' => [ // Aws\Credentials\CredentialsInterface|array|callable 'key' => 'my-key', 'secret' => 'my-secret', ],...
I am trying to upload file to amazon, but I got this error `Call to undefined function GuzzleHttp\Psr7\try_fopen()` _vendor\frostealth\yii2-aws-s3\src\handlers\UploadCommandHandler.php line 48_ My code: `$result = $s3->commands()->upload('e:\Video\short videos\The Small Business Story...
Hello, I am trying to upgrade frostealth library from 0.2.0 to 2.0.0 ,I am facing below error:- Problem 1 - Installation request for frostealth/yii2-aws-s3 2.0.0 -> satisfiable by frostealth/yii2-aws-s3[v2.0.0]. -...
Hi there. Is there a way we can delete all the content of the given folder or the entire folder with one request? For example I want to delete the...
guzzle dependency
/frostealth/yii2-aws-s3/src/handlers/uploadCommandHandlers ``` protected function sourceToStream($source): StreamInterface { if (is_string($source)) { $source = Psr7\try_fopen($source, 'r+'); } return Psr7\stream_for($source); } ``` Should now be ``` protected function sourceToStream($source): StreamInterface { if (is_string($source))...
In order to make other services that uses the S3 api to be contacted via this extension. for example: 's3' => [ 'class' => 'frostealth\yii2\aws\s3\Service', 'credentials' => 'key' => 'My-Key',...
hello, how can i upload a file to a specific folder in my bucket