PHPackages                             ginvoicing/yii2-aws-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ginvoicing/yii2-aws-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ginvoicing/yii2-aws-sdk
=======================

Yii2 component AWS Sdk v3 wrapper.

1.0.2(5y ago)029MITPHPPHP &gt;= 5.6

Since Aug 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ginvoicing/yii2-aws-sdk)[ Packagist](https://packagist.org/packages/ginvoicing/yii2-aws-sdk)[ RSS](/packages/ginvoicing-yii2-aws-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Yii2 AWS SDK v3 wrapper
=======================

[](#yii2-aws-sdk-v3-wrapper)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require ginvoicing/yii2-aws-sdk "1.0.1"

```

or add

```
"ginvoicing/yii2-aws-sdk": "1.0.1"

```

to the require section of your `composer.json` file.

in your web.php, your configuration would look like this

```
'components' => [
	'aws' => [
		'class' => 'ginvoicing\aws\BaseAws',
		//required config
		'region' => 'your_region',
		//optional config
		'key' => 'your_key',
		'secret' => 'your_secret',
		'version' => 'latest',
		//additional config
		'options' => [
			'scheme' => 'http',
		],
		// optional config file
		//'configFile' => require_once('/path/to/aws.config.php'),
	]
]
```

See additional aws configuration [here](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/configuration.html)

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
/* @var $aws \ginvoicing\aws\AwsSdk */
$aws = \Yii::$app->aws;
$dynamoDbClient = $aws->createDynamoDb();
...
$s3Client = $aws->createS3();
$result = $s3Client->listObjects(['Bucket' => 'my-bucket'])->toArray();
//get the last object
$object = end($result['Contents']);
$key = $object['Key'];
$file = $s3Client->getObject([
  'Bucket' => 'my-bucket',
  'Key' => $key
]);

//download file
header('Content-Type: ' . $file['ContentType']);
echo $file['Body'];
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2080d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb1f4d580a8e4622ed116868b46eb713e2d8c106c11399d7ef8973231ac4f449?d=identicon)[tarunjangra](/maintainers/tarunjangra)

---

Top Contributors

[![tarunjangra](https://avatars.githubusercontent.com/u/153673?v=4)](https://github.com/tarunjangra "tarunjangra (4 commits)")

---

Tags

sdkawswrapperyii2

### Embed Badge

![Health badge](/badges/ginvoicing-yii2-aws-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ginvoicing-yii2-aws-sdk/health.svg)](https://phpackages.com/packages/ginvoicing-yii2-aws-sdk)
```

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36517.7M22](/packages/aws-aws-sdk-php-symfony)[fedemotta/yii2-aws-sdk

This extension provides the AWS SDK integration for the Yii2 framework

15430.4k2](/packages/fedemotta-yii2-aws-sdk)[saviorlv/yii2-dysms

Aliyun SMS SDK for Yii2

1316.5k1](/packages/saviorlv-yii2-dysms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
