PHPackages                             jenn0pal/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. jenn0pal/yii2-aws-sdk

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

jenn0pal/yii2-aws-sdk
=====================

Yii2 AWS Sdk v3 wrapper.

1.0.1(10y ago)034.1k↓31%[1 issues](https://github.com/jenn0pal/yii2-aws-sdk/issues)MITPHP

Since Jul 9Pushed 10y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

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

[](#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 jenn0pal/yii2-aws-sdk "*"

```

or add

```
"jenn0pal/yii2-aws-sdk": "*"

```

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

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

```
'components' => [
	'aws' => [
		'class' => 'jenn0pal\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)

Warning! It is not recommended to hard code your credentials on your app config because you may accidentally commit it in your VCS, potentially exposing it to more people than intended. See additional ways [here](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/credentials.html)

Usage
-----

[](#usage)

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

```
/* @var $aws \jenn0pal\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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

4

Last Release

3966d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4667657?v=4)[Ray Jonathan](/maintainers/jenn0pal)[@jenn0pal](https://github.com/jenn0pal)

---

Top Contributors

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

---

Tags

sdkawswrapperyii2

### Embed Badge

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

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

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

420300.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)[async-aws/async-aws-bundle

Configure all your AsyncAws services and enjoy the autowire greatness.

243.6M2](/packages/async-aws-async-aws-bundle)[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)
