PHPackages                             virbo/yii2-kilatstorage - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. virbo/yii2-kilatstorage

ActiveYii2-extension[File &amp; Storage](/categories/file-storage)

virbo/yii2-kilatstorage
=======================

Library for S3 Kilatstorage

1.0.2(6y ago)118GPL-3.0+PHP

Since Mar 4Pushed 6y ago1 watchersCompare

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

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

Library for S3 Kilatstorage
===========================

[](#library-for-s3-kilatstorage)

Library for S3 Kilatstorage

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

[](#installation)

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

Either run

```
php composer.phar require virbo/yii2-kilatstorage "~1.0"

```

or add

```
"virbo/yii2-kilatstorage": "~1.0"

```

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

Usage
-----

[](#usage)

Add this configuration to your config file

```
 'components' => [
    ...
    's3' => [
        'class' => 'virbo\kilatstorage\S3Client',
            'credentials' => [
                'key' => 'kilatstorage-key',
                'secret' => 'kilatstorage-secret',
            ],
            'region' => 'kilatstorage-region', //default: 'id-jkt-1
            'version' => 'kilatstorage-version', //default: 'latest'
        ],
    ],
    ...
```

and then create new function, example:

\#Create bucket

```
public function actionCreate()
{
    $s3 = Yii::$app->s3;
    try {
        $result = $s3->createBucket('new_bucket_name');
        return $result;
    } catch (S3Exception $e) {
        echo $e->getMessage();
    }
}
```

\#List Bucket

```
public function actionListBucket()
{
    $s3 = Yii::$app->s3;
    try {
    	$result = $s3->listBuckets();
    	foreach ($result['Buckets'] as $bucket) {
    	    echo $bucket['Name'] . "\n";
    	}
    } catch (S3Exception $e) {
    	echo $e->getMessage();
    }
}
```

\#List Object/Content

```
public function actionList()
{
    $s3 = Yii::$app->s3;
    try {
        $result = $s3->listObjects('bucket_name');
        foreach ($result['Contents'] as $bucket) {
            echo $bucket['Key'] . "";
        }
    } catch (S3Exception $e) {
        echo $e->getMessage();
    }
}
```

\#Delete empty bucket

```
public function actionDelete()
{
    $s3 = Yii::$app->s3;
    try {
        $result = $s3->deleteBucket('bucket_name');
        return $result;
    } catch (S3Exception $e) {
        echo $e->getMessage();
    }
}
```

\#Upload object/content

```
public function actionUpload()
{
    $s3 = Yii::$app->s3;
    $file = Yii::getAlias('@web/assets/images/image1.jpg');
    $key = 'assets/images/'.basename($file);     //will put object in folder assets/images

    return $s3->putObject('marketplace', $key, $file);
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

3

Last Release

2261d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2990842?v=4)[Yusuf Ayuba](/maintainers/virbo)[@virbo](https://github.com/virbo)

---

Top Contributors

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

---

Tags

s3yii2extensionkilatstorage

### Embed Badge

![Health badge](/badges/virbo-yii2-kilatstorage/health.svg)

```
[![Health](https://phpackages.com/badges/virbo-yii2-kilatstorage/health.svg)](https://phpackages.com/packages/virbo-yii2-kilatstorage)
```

###  Alternatives

[fedemotta/yii2-aws-sdk

This extension provides the AWS SDK integration for the Yii2 framework

15430.4k2](/packages/fedemotta-yii2-aws-sdk)[frostealth/yii2-aws-s3

An Amazon S3 component for Yii2

90698.9k5](/packages/frostealth-yii2-aws-s3)

PHPackages © 2026

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