PHPackages                             sergmoro1/yii2-slide - 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. [Templating &amp; Views](/categories/templating)
4. /
5. sergmoro1/yii2-slide

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

sergmoro1/yii2-slide
====================

Slides manager. The set of slides can be used in a frontend as a carousel. Each slide can has title, subtitle, link and more and can be set in a backend.

v2.0.0(6y ago)0401MITPHPPHP &gt;=5.4.0

Since Sep 2Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (1)

Yii2 module for slides (carousel) management
============================================

[](#yii2-module-for-slides-carousel-management)

Advantages
----------

[](#advantages)

Often Slides are needed for the main page of the site. The module allows to manage a specified number of slides. Each slide can has title, subtitle, link and more, count of parts depends on a slide template and your needs.

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

[](#installation)

The preferred way to install this extension is through composer.

Either run

`composer require --prefer-dist sergmoro1/yii2-slide`

or add

`"sergmoro1/yii2-slide": "^1.1"`

to the require section of your composer.json.

Configuration
-------------

[](#configuration)

Make a directory for slides

```
mkdir ./frontend/web/files/slide
chmod -R 777 ./frontend/web/files/slide

```

Set up in `frontend/config/params.php`

```
return [
    'common' => [
        'slides' => [
            // 3 slides
            ['id' => 1, 'caption' => 'Advert'],
            ['id' => 2, 'caption' => 'Characteristic feature'],
            ['id' => 3, 'caption' => 'Key service'],
            // may be more
        ],
        // Slide description look like: Head1 # Line1 of Head2; Line2 of Head2 # link/to/content
        // In a backend slide/index every part will be converted in the tag mentioned below.
        'highlights' => ['h4', 'p', 'small', 'b', 'p', 'small'],
    ],
];
```

Usage
-----

[](#usage)

Every slide has one or more image and description. Active only one image - first. Order can be changed by mouse.

Description divided by symbol "#" on parts - highlights and link that can be used in a frontend.

```
$model->getImage('thumb');
$model->getImage();
$model->getImage('original');

$model->getHighlights();
```

The highlights are positionally dependent. You should define the position of each part by yourself and use it in frontend.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

2380d ago

Major Versions

v1.1.1 → v2.0.02019-11-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/47754c3aa326cd8f607f8207a47193bb3286eac44fded6dd5a312da13358e76c?d=identicon)[sergmoro1](/maintainers/sergmoro1)

---

Top Contributors

[![sergmoro1](https://avatars.githubusercontent.com/u/5292104?v=4)](https://github.com/sergmoro1 "sergmoro1 (29 commits)")

---

Tags

yii2carouselslides

### Embed Badge

![Health badge](/badges/sergmoro1-yii2-slide/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[ogheo/yii2-htmlcompress

Compress HTML output into a single line

20184.4k1](/packages/ogheo-yii2-htmlcompress)[marqu3s/yii2-summernote

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

1691.6k8](/packages/marqu3s-yii2-summernote)[zxbodya/yii2-tinymce

Yii2 extension to use TinyMce with Compressor and FileManager

1732.1k3](/packages/zxbodya-yii2-tinymce)

PHPackages © 2026

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