PHPackages                             nuffic/yii2-docblock-form - 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. nuffic/yii2-docblock-form

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

nuffic/yii2-docblock-form
=========================

Makes a form out of class property docblocks

1.4.0(1y ago)24.3k4PHPPHP &gt;=7.2

Since Dec 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Nuffic/yii2-docblock-form)[ Packagist](https://packagist.org/packages/nuffic/yii2-docblock-form)[ RSS](/packages/nuffic-yii2-docblock-form/feed)WikiDiscussions develop Synced today

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

Usage example
-------------

[](#usage-example)

### Class definition

[](#class-definition)

```
class Person
{
    /**
     * @input
     * @validator {"class": "\\yii\\validators\\RequiredValidator"}
     * @validator {"class": "\\yii\\validators\\StringValidator", "min": 3, "max": 30}
     */
    public $name;

    /**
     * @input widget["kartik\\switchinput\\SwitchInput", {"template": "default"}]
     * @input {"class": \\yii\\validators\\BooleanValidator", "skipOnEmpty": false}
     */
    public $age;
}
```

### Form rendering

[](#form-rendering)

```
$form = ActiveForm::begin();

echo \nuffic\docblock\widget\Configure::widget([
    'form' => $form,
    'reflection' => new \nuffic\docblockReflectionBuilder(Person::class),
]);

$form->end();
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

629d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c725ba423f079c7b39c0c83f0f10c66048b2900362f5bd0aed9eddfe9e1199a?d=identicon)[Nuffic](/maintainers/Nuffic)

---

Top Contributors

[![alexeevdv](https://avatars.githubusercontent.com/u/597839?v=4)](https://github.com/alexeevdv "alexeevdv (8 commits)")[![mikk150](https://avatars.githubusercontent.com/u/4953629?v=4)](https://github.com/mikk150 "mikk150 (7 commits)")[![rinu](https://avatars.githubusercontent.com/u/469009?v=4)](https://github.com/rinu "rinu (2 commits)")[![baskof147](https://avatars.githubusercontent.com/u/6277248?v=4)](https://github.com/baskof147 "baskof147 (1 commits)")[![Nuffic](https://avatars.githubusercontent.com/u/3830714?v=4)](https://github.com/Nuffic "Nuffic (1 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/nuffic-yii2-docblock-form/health.svg)

```
[![Health](https://phpackages.com/badges/nuffic-yii2-docblock-form/health.svg)](https://phpackages.com/packages/nuffic-yii2-docblock-form)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12525.9M149](/packages/phpdocumentor-reflection)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.4M291](/packages/symfony-ai-platform)[symfony/ai-agent

PHP library for building agentic applications.

32870.1k106](/packages/symfony-ai-agent)[xefi/faker-php

Faker allows you to generate realistic fake data for your php applications

18622.1k16](/packages/xefi-faker-php)

PHPackages © 2026

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