PHPackages                             abdualiym/yii2-slider - 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. [Framework](/categories/framework)
4. /
5. abdualiym/yii2-slider

ActiveYii2-extension[Framework](/categories/framework)

abdualiym/yii2-slider
=====================

Yii2 slider extension

4.1.1(5y ago)0212BSD-3-ClausePHPCI failing

Since Mar 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Abdualiym/yii2-slider)[ Packagist](https://packagist.org/packages/abdualiym/yii2-slider)[ Docs](https://www.github.com/)[ RSS](/packages/abdualiym-yii2-slider/feed)WikiDiscussions master Synced 2d ago

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

yii2-slider extension
=====================

[](#yii2-slider-extension)

The extension allows manage html content block.

### Installation

[](#installation)

- Install with composer:

```
composer require abdualiym/yii2-slider "^1.0"
```

- **After composer install** run console command for create tables:

```
php yii migrate/up --migrationPath=@vendor/abdualiym/yii2-slider/migrations
```

- Setup in common config storage and language configurations.

> language indexes related with database columns.

> Admin panel tabs render by array values order.

> Begin id param value from 0.

```
'modules' => [
    'slider' => [ // don`t change module key
        'class' => '@abdualiym\slider\Module',
        'storageRoot' => $params['staticPath'],
        'storageHost' => $params['staticHostInfo'],
        'thumbs' => [ // 'sm' and 'md' keys are reserved
            'admin' => ['width' => 128, 'height' => 128],
            'thumb' => ['width' => 320, 'height' => 320],
        ],
        'languages' => [
            'ru' => [
                'id' => 0,
                'name' => 'Русский',
            ],
            'uz' => [
                'id' => 1,
                'name' => 'O`zbek tili',
            ],
        ],
    ],
]
```

- In admin panel add belove links for manage pages, article categories, articles and menu:

```
/slider/categories/index
/slider/slides/index?slug=your_category_slug_name
/slider/tags/index
```

> For using SlidesController actions you must manual specify their category slug in route.

\###Examples

Extension registers next language arrays to Yii::$app-&gt;params\[\] for use in views:

```
\Yii::$app->params['cms']['languageIds'][$prefix] = $language['id'];
[
    'en' => 2,
    'ru' => 1,
    ...
]

\Yii::$app->params['cms']['languages'][$prefix] = $language['name'];
[
    'en' => 'English',
    ...
]

\Yii::$app->params['cms']['languages2'][$language['id']] = $language['name'];
[
    2 => 'English',
    ...
]
```

\###Frontend widgets integration

> get all slides by category slug

```
abdualiym\slider\entities\Slides::getBySlug($slug)

```

> get all slides count by category slug

```
abdualiym\slider\entities\Slides::getBySlug($slug, true)

```

> get all tags

```
abdualiym\slider\entities\Tags::getAll()

```

> get all tags count

```
abdualiym\slider\entities\Tags::getAll(true)

```

\###Examples for use in frontend see [yii2-language](https://github.com/Abdualiym/yii2-language) extension

---

> TODO

- Copy from extension root directory example widgets for frontend integration

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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 ~14 days

Recently: every ~57 days

Total

17

Last Release

2029d ago

Major Versions

1.0.3 → 2.0.02020-03-04

2.0.8 → 3.0.02020-09-13

3.0.0 → 4.0.02020-09-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/8afe769498e5b199a71bb9d878a98244c426af072b5341a2d65930371db83297?d=identicon)[Abdualiym](/maintainers/Abdualiym)

---

Top Contributors

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

---

Tags

frameworkimagesyii2advancedcarouselslider

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abdualiym-yii2-slider/health.svg)

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

###  Alternatives

[funson86/yii2-adminlte

Yii 2 Advanced Application Template with Adminlte Theme

1492.2k](/packages/funson86-yii2-adminlte)[beaten-sect0r/yii2-core

Yii2 Core project template

771.1k](/packages/beaten-sect0r-yii2-core)

PHPackages © 2026

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