cloudadic / feedback-api-s3
There is no license information available for the latest version (1.0.2) of this package.
1.0.2
2017-08-16 14:16 UTC
Requires
- aws/aws-sdk-php: ^3.32
This package is not auto-updated.
Last update: 2024-11-13 22:13:12 UTC
README
Here's a sample config
require __DIR__ . '/../vendor/autoload.php'; $feedback = new cloudadic\feedback\FeedbackUpload(new cloudadic\feedback\S3Bucket('AWS_ACCESS_KEY', 'AWS_SECRET_KEY', 'S3_BUCKET', 'us-east-1', '2006-03-01')); $response = $feedback->UploadImage('/home/codeswift/Downloads/062aa016159b28294f8229cbbd0f602f.jpg', 'test/062aa016159b28294f8229cbbd0f602f.jpg'); print_r($response);