PHPackages                             seiweb/yii2-image - 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. [Image &amp; Media](/categories/media)
4. /
5. seiweb/yii2-image

ActiveYii2-extension[Image &amp; Media](/categories/media)

seiweb/yii2-image
=================

Simple Image Uploader

1.0.0(6y ago)03BSD-3-ClausePHP

Since Jan 1Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/seiweb/yii2-image)[ Packagist](https://packagist.org/packages/seiweb/yii2-image)[ RSS](/packages/seiweb-yii2-image/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

### Установка

[](#установка)

```
$ composer require seiweb/yii2-image "*"

```

### Настройка

[](#настройка)

```
 'modules'=>[
        'swb_image' => [
            'class' => 'seiweb\image\Module',
            'components'=>[
                'storage'=>[
                    'class'=>'common\CustomStorage',
                    'originalDor'=>'_original', // сюда складываются оригиналы
                    'cacheDir'=>'_modified', //сюда складываются всякие превью
                ],
                'imageManager'=>[
                    'class'=>\Intervention\Image\ImageManager::class,
                    'config'=>['driver'=>'imagick'] //or imagick
                ]
            ],
            'originalResizeTo'=>[1280,768], //уменьшать загружаемый файл до
            'maxFileCount'=>15,
            //'watermarkFilePath' => '@frontend/web/uploads/watermark.png',
            'watermarkOpacity'=>20,
            'uploadFileMaxSize'=>1000*1000*2
        ],
    ]

```

### Применение миграций

[](#применение-миграций)

```
 php yii migrate/up --migrationPath=@seiweb/image/migrations

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance43

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

2328d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/610c6c0203541e4a58ec60e45d3cf1fa2d031afd4a49158741f4cadf002fc9ac?d=identicon)[seiweb](/maintainers/seiweb)

---

Top Contributors

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

---

Tags

imagesyii2yii 2

### Embed Badge

![Health badge](/badges/seiweb-yii2-image/health.svg)

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

###  Alternatives

[costa-rico/yii2-images

yii2 images module for storing images

16461.6k4](/packages/costa-rico-yii2-images)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)[ayvazyan10/nova-imagic

Imagic is a Laravel Nova field package that allows for image manipulation capabilities, such as cropping, resizing, quality adjustment, and WebP conversion. It utilizes the powerful Intervention Image class for image manipulation.

144.3k1](/packages/ayvazyan10-nova-imagic)

PHPackages © 2026

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