PHPackages                             humaninitiative/yii2-minio-component - 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. humaninitiative/yii2-minio-component

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

humaninitiative/yii2-minio-component
====================================

A Yii2 component to interact with MinIO using AWS SDK.

1.0(5mo ago)08MITPHPPHP ^8.0

Since Nov 17Pushed 5mo agoCompare

[ Source](https://github.com/HumanInitiative/yii2-minio-component)[ Packagist](https://packagist.org/packages/humaninitiative/yii2-minio-component)[ RSS](/packages/humaninitiative-yii2-minio-component/feed)WikiDiscussions master Synced 1mo ago

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

Yii2 MinIO Component
====================

[](#yii2-minio-component)

Ini adalah komponen sisi **server** untuk akses ke MinIO.

Fitur
-----

[](#fitur)

Bucket (check, create, policy)

Folder (create)

File (upload, delete, check)

Get Pre-Signed URL (private file)

Instalasi
---------

[](#instalasi)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require humaninitiative/yii2-minio-component:"dev-master"
```

### 2. Config Aplikasi

[](#2-config-aplikasi)

Tambahkan pada `.env` :

```
MINIO_REGION={region}
MINIO_ENDPOINT={endpoint url}
MINIO_KEY={user key}
MINIO_SECRET={user secret pass}
MINIO_DEFAULT_BUCKET={default bucket}

```

Lalu tambahkan pada `config/web.php` :

```
'components' => [
	'minio' => [
		'class' => 'humaninitiative\s3\MinioComponent',
		'version' => 'latest',
		'use_path_style_endpoint' => true,
		'region' => $_ENV['MINIO_REGION'],
		'endpoint' => $_ENV['MINIO_ENDPOINT'],
		'credentials' => [
			'key' => $_ENV['MINIO_KEY'],
			'secret' => $_ENV['MINIO_SECRET'],
		],
		'bucket' => $_ENV['MINIO_DEFAULT_BUCKET'],
	],
],

```

Copy `FileController.php` ke `modules/api/controllers` :

```
cp vendor/humaninitiative/yii2-minio-component/src/FileController.php modules/api/controllers/

```

Ubah namespace menjadi `app\modules\api\controllers`.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance70

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

177d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/131ced7eff9bd028dcf1d2b3ed34d1b82e98e2c06a76014dc4d7e361da411940?d=identicon)[arifinm](/maintainers/arifinm)

---

Top Contributors

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

---

Tags

s3yii2extensionaws-sdkminio

### Embed Badge

![Health badge](/badges/humaninitiative-yii2-minio-component/health.svg)

```
[![Health](https://phpackages.com/badges/humaninitiative-yii2-minio-component/health.svg)](https://phpackages.com/packages/humaninitiative-yii2-minio-component)
```

###  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)
