PHPackages                             zakharov-andrew/yii2-survey-forms-widget - 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. zakharov-andrew/yii2-survey-forms-widget

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

zakharov-andrew/yii2-survey-forms-widget
========================================

Yii2 Survey Form widget

v0.0.8(3y ago)31531MITPHPPHP &gt;=7.0

Since May 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ZakharovAndrew/yii2-survey-forms-widget)[ Packagist](https://packagist.org/packages/zakharov-andrew/yii2-survey-forms-widget)[ RSS](/packages/zakharov-andrew-yii2-survey-forms-widget/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

Yii2 Survey Forms widget
========================

[](#yii2-survey-forms-widget)

[![Latest Stable Version](https://camo.githubusercontent.com/692f2c4e888360473dc5c52d0bfb334007c3c04ed9665b5813f2ccc837cfa093/68747470733a2f2f706f7365722e707567782e6f72672f7a616b6861726f762d616e647265772f796969322d7375727665792d666f726d732d7769646765742f762f737461626c65)](https://packagist.org/packages/zakharov-andrew/yii2-survey-forms-widget)[![License](https://camo.githubusercontent.com/07b7f0a85a173cae8342fbeb5fa2d4660c9958f86c19774c5a4ce7446e9e7186/68747470733a2f2f706f7365722e707567782e6f72672f7a616b6861726f762d616e647265772f796969322d7375727665792d666f726d732d7769646765742f6c6963656e7365)](https://packagist.org/packages/zakharov-andrew/yii2-survey-forms-widget)[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

Survey module for Yii2 application. Use [SurveyForms.js](https://github.com/ZakharovAndrew/Survey-Forms) javascript library

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

[](#installation)

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

Either run

```
$ composer require zakharov-andrew/yii2-survey-forms-widget

```

or add

```
"zakharov-andrew/yii2-survey-forms-widget": "*"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

```
use surveyforms\survey\Survey;

echo SurveyWidget::widget([
    'id' => 'survey-forms',
    'title' => 'First Survey Test',
    'description' => 'Simple description. SurveyForms.js demo',
    'background_color' => '#f7fafc',
    'question' => [
        (object)[
            'title' => 'Test Title 1',
            'required' => true,
            'options' => ['one', 'two', 'zero']
        ],
        (object)[
            'title' => 'Test Title 2',
            'required' => false,
            'options' => ['1', '2', '3'],
            'score' => 5
        ],
        (object)[
            'title' => 'Test Title 3',
            'type' => 'select',
            'required' => true,
            'options' => ['option 1', 'option 2', 'option 3'],
            'score' => 5
        ],
    ]
]);
```

License
-------

[](#license)

**yii2-survey-forms-widget** it is available under a MIT License. Detailed information can be found in the `LICENSE.md`.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Recently: every ~46 days

Total

8

Last Release

1324d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/08ab00e707ea2dd0f8703587f1b770398b9662c98da6738d7a5e14c13caa1a8a?d=identicon)[ZakharovAndrew](/maintainers/ZakharovAndrew)

---

Top Contributors

[![ZakharovAndrew](https://avatars.githubusercontent.com/u/37038505?v=4)](https://github.com/ZakharovAndrew "ZakharovAndrew (39 commits)")

---

Tags

yii2yii2-widgetsyii2extensionmodulewidgetyii 2surveypolls

### Embed Badge

![Health badge](/badges/zakharov-andrew-yii2-survey-forms-widget/health.svg)

```
[![Health](https://phpackages.com/badges/zakharov-andrew-yii2-survey-forms-widget/health.svg)](https://phpackages.com/packages/zakharov-andrew-yii2-survey-forms-widget)
```

PHPackages © 2026

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