PHPackages                             mynameiszanders/yii-forms - 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. mynameiszanders/yii-forms

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

mynameiszanders/yii-forms
=========================

Extensions to Yii's form objects to help with view rendering.

2.0.1(12y ago)019MITPHPPHP &gt;=5.3.0

Since Dec 15Pushed 12y ago1 watchersCompare

[ Source](https://github.com/mynameiszanders/yii-forms)[ Packagist](https://packagist.org/packages/mynameiszanders/yii-forms)[ Docs](https://github.com/mynameiszanders/yii-forms)[ RSS](/packages/mynameiszanders-yii-forms/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Yii Forms
=========

[](#yii-forms)

*Version: 2.0.1*

A collection of component classes for Yii forms to provide cross-theme rendering of form inputs, without having to know the types of inputs that were defined in form configuration files. Since version 2.0.0 this repository is a [Composer](http://getcomposer.org "Dependency Manager for PHP") library package installable via [Packagist](https://packagist.org/packages/mynameiszanders/yii-forms "The PHP package archivist."). Simply add it as a dependancy of your projects with `composer require mynameiszanders/yii-forms:2.*` or add the following to your `composer.json` configuration file:

```
"require": {
    "mynameiszanders/yii-forms": "2.*"
},
```

To use, simply use `application\components\Form` rather than `CForm` when creating an instance of the form builder. You might also want to read [the dummies guide](GUIDE.md) for building forms with the new classes. It's not great, and that's because I hate writing documentation (source comments, baby!) and managed to knock this out in 4 hours.

If you want to rename `application\components\ActiveForm`, make sure to update the reference in `application\components\Form::activeForm`.

Changes
-------

[](#changes)

It adds the methods:

- `application\components\ActiveForm::input()`
- `application\components\ActiveForm::button()`
- `application\components\ActiveForm::hint()`

And extends the methods:

- [`CForm::submitted()`](http://yiiframework.com/doc/api/CForm#submitted-detail "CForm::submitted()")
- [`CActiveForm::label()`](http://yiiframework.com/doc/api/CActiveForm#label-detail "CActiveForm::label()")
- [`CActiveForm::labelEx()`](http://yiiframework.com/doc/api/CActiveForm#labelEx-detail "CActiveForm::labelEx()")
- [`CActiveForm::error()`](http://yiiframework.com/doc/api/CActiveForm#error-detail "CActiveForm::error()")
- [`CActiveForm::errorSummary()`](http://yiiframework.com/doc/api/CActiveForm#errorSummary-detail "CActiveForm::errorSummary()")

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

4529d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5740a4bd73e38de8bb6c18965fdb50bceabcf68eab6d858e38cd56e86de5b416?d=identicon)[zanbaldwin](/maintainers/zanbaldwin)

---

Top Contributors

[![zanbaldwin](https://avatars.githubusercontent.com/u/123245?v=4)](https://github.com/zanbaldwin "zanbaldwin (23 commits)")

---

Tags

helperyiiformrenderelement

### Embed Badge

![Health badge](/badges/mynameiszanders-yii-forms/health.svg)

```
[![Health](https://phpackages.com/badges/mynameiszanders-yii-forms/health.svg)](https://phpackages.com/packages/mynameiszanders-yii-forms)
```

PHPackages © 2026

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