PHPackages                             hounddd/wn-selfcomplete-plugin - 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. hounddd/wn-selfcomplete-plugin

ActiveWinter-plugin[Utility &amp; Helpers](/categories/utility)

hounddd/wn-selfcomplete-plugin
==============================

v1.0.2(3y ago)1172MITJavaScriptPHP &gt;=5.4

Since May 4Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Hounddd/wn-selfcomplete-plugin)[ Packagist](https://packagist.org/packages/hounddd/wn-selfcomplete-plugin)[ RSS](/packages/hounddd-wn-selfcomplete-plugin/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Self complete formwidget
========================

[](#self-complete-formwidget)

A "text" formwidget which, like a "dropdown" field, offers options based on existing DB values.

[![Formwidget Selfcomplete in action](https://github.com/hounddd/wn-selfcomplete-plugin/raw/master/docs/assets/Selfcomplete.gif?raw=true)](https://github.com/hounddd/wn-selfcomplete-plugin/blob/master/docs/assets/Selfcomplete.gif?raw=true)

Why this formwidget
-------------------

[](#why-this-formwidget)

Simple **text** fields let only enter new values, while **dropdown** ones let only select between values.

This field will act as a text entry letting you enter any value consistent with the field, but at the same time will provide you with the previous unique values for that same field. In this way it is possible to see the values already present in the database and to avoid duplicates due to different entries by different users. **It is still possible to enter whatever you want in the field.**

How to use
----------

[](#how-to-use)

The plugin register a new form field type : `selfcomplete`. You can use it in your [backend fields definition](https://wintercms.com/docs/backend/forms#form-fields).

```
city:
    label: City SelfComplete
    type: selfcomplete
    modelClass: \Winter\Test\Models\City
    # table: 'winter_test_cities'
    selectFrom: name

```

### Options

[](#options)

None of these are required, if omited the form widget will use the current controller class and field name.

- **modelClass**: Model class name to use.
- **table**: Table name to use.
- **selectFrom**: Field name to use.

*Be careful when using it, this form widget has not been tested with other than text fields.*

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

1247d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b94bfda4c51f6f158b55a6726e01443fc9bbf1e5676f672f281a9e6e875e8be?d=identicon)[damsfx](/maintainers/damsfx)

---

Top Contributors

[![damsfx](https://avatars.githubusercontent.com/u/282242?v=4)](https://github.com/damsfx "damsfx (3 commits)")

---

Tags

autocompleteformwidgetpluginwintercmscmsformfieldbackendwinter

### Embed Badge

![Health badge](/badges/hounddd-wn-selfcomplete-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/hounddd-wn-selfcomplete-plugin/health.svg)](https://phpackages.com/packages/hounddd-wn-selfcomplete-plugin)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[winter/wn-sitemap-plugin

Sitemap plugin for Winter CMS

1049.0k1](/packages/winter-wn-sitemap-plugin)[responsiv/currency-plugin

Currency plugin for October CMS

181.3k1](/packages/responsiv-currency-plugin)

PHPackages © 2026

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