PHPackages                             vladkukushkin/yii2-faq - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vladkukushkin/yii2-faq

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

vladkukushkin/yii2-faq
======================

Yii2 FAQ module

13214PHP

Since Mar 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vladkukushkin/yii2-faq)[ Packagist](https://packagist.org/packages/vladkukushkin/yii2-faq)[ RSS](/packages/vladkukushkin-yii2-faq/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-faq-module
===============

[](#yii2-faq-module)

FAQ module for Yii2

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist vladkukushkin/yii2-faq "*"

```

or add

```
"vladkukushkin/yii2-faq": "*"

```

to the require section of your composer.json file.

Make migration

```
php yii migrate --migrationPath=@vendor/vladkukushkin/yii2-faq/migrations/
```

Usage
-----

[](#usage)

You should add module to your config:

```
'modules' => [
        ...
        'faq' => [
                    'class' => \vladkukushkin\faq\Module::className(),
                    'imagesUrl' => 'http://my_site_name/upload/faq/',
                    'imagesPath' => '@frontend/web/upload/faq/',//realpath(__DIR__.'/../../frontend/web/upload/faq/')
                ],
    ],
```

You should use 'imagesUrl' and 'imagesPath' to define folder to store your images for FAQ. This variables should define same directory. In above example images will be saved in '@frontend/web/upload/faq' directory. You should define both variables because [Imperavi widget](https://github.com/vova07/yii2-imperavi-widget)used in this module and they needed to this widget.

If you use advanced project template you should configure both config.php with the same values

You can add link to this module in your backend navbar:

```
$menuItems[] = ['label' => 'FAQ', 'url' => ['/faq/default/index']];
```

To display FAQ just add:

```
echo \vladkukushkin\faq\widgets\FaqWidget\FaqWidget::widget();
```

Widget have two parameters - 'title' and 'breadcrumbs' with default value 'false', which means that no title and no breadcrumbs will be applied on page with widget. It is useful if you will place widget on existing page with other information. If you locate widget on separate page and want to specify title or breadcrumbs (or maybe both of them) you can call widget like this:

```
echo \vladkukushkin\faq\widgets\FaqWidget\FaqWidget::widget([
    'title' => Yii::t('app', 'FAQ'),
    'breadcrumbs' => Yii::t('app', 'FAQ page'),
]);
```

It is possible that you have to change minimum stability section of your composer.json file to dev

```
"minimum-stability": "dev",
```

Module support Russian and English languages. By default language for Imperavi widget is Russian ('ru'). You can change it to English by adding to module config

```
'imperaviLanguage' => 'en'
```

The module is under construction

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/adbbdb40ed132a0a0680bb4c9f3899739bd927ecf3bbc223652aec9e82f1af3b?d=identicon)[vladkukushkin](/maintainers/vladkukushkin)

---

Top Contributors

[![vladkukushkin](https://avatars.githubusercontent.com/u/9193665?v=4)](https://github.com/vladkukushkin "vladkukushkin (1 commits)")

### Embed Badge

![Health badge](/badges/vladkukushkin-yii2-faq/health.svg)

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

###  Alternatives

[chrismallory/module-freeshipping-progress-bar

Display a progress bar on the shopping cart based on order total to encourage users to spend more to get free shipping

4915.4k](/packages/chrismallory-module-freeshipping-progress-bar)[corneltek/universal

Universal library for PHP

14146.3k5](/packages/corneltek-universal)[webparking/nova-belongs-to-dependency

Extended Laravel Nova BelongsTo field that can depend on other fields

1157.8k](/packages/webparking-nova-belongs-to-dependency)[professional-wiki/modern-timeline

Adds a modern timeline visualization as Semantic MediaWiki result format

1820.8k1](/packages/professional-wiki-modern-timeline)

PHPackages © 2026

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