PHPackages                             heimrichhannot/contao-widgetcollection - 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. heimrichhannot/contao-widgetcollection

ActiveContao-module[Utility &amp; Helpers](/categories/utility)

heimrichhannot/contao-widgetcollection
======================================

A collection of contao widgets.

1.4.1(7y ago)065LGPL-3.0-or-laterPHPPHP ~5.6 || ~7.0

Since Jan 29Pushed 7y ago5 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-widgetcollection)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-widgetcollection)[ Docs](https://github.com/heimrichhannot/contao-banking_widgets)[ RSS](/packages/heimrichhannot-contao-widgetcollection/feed)WikiDiscussions master Synced 3d ago

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

Contao Widget Collection
========================

[](#contao-widget-collection)

[![Latest Stable Version](https://camo.githubusercontent.com/79af82f8bc3a8f3655b2ceea6c2bff70beb624e20813d7c5be32417f9005bae3/68747470733a2f2f706f7365722e707567782e6f72672f6865696d7269636868616e6e6f742f636f6e74616f2d776964676574636f6c6c656374696f6e2f762f737461626c65)](https://packagist.org/packages/heimrichhannot/contao-widgetcollection)[![Total Downloads](https://camo.githubusercontent.com/88eb340deb3b3e3c84d91036a0594362e407210a213678704ce0b3039d77f839/68747470733a2f2f706f7365722e707567782e6f72672f6865696d7269636868616e6e6f742f636f6e74616f2d776964676574636f6c6c656374696f6e2f646f776e6c6f616473)](https://packagist.org/packages/heimrichhannot/contao-widgetcollection)

> This module is currently only used in a single Contao 3 project and not generally tested. Feedback is welcome.

This module is a collection of contao widgets that add some advanced (backend) validation to the input fields. They are designed to use with [Formhybrid](https://github.com/heimrichhannot/contao-formhybrid) module.

Install
-------

[](#install)

With composer:

```
composer require heimrichhannot/contao-widgetcollection

```

Widgets
-------

[](#widgets)

### BIC (Swift) `bicWidget`

[](#bic-swift-bicwidget)

Validates a BIC/SWIFT-Adress.

Uses [IsoCodes](https://github.com/ronanguilloux/IsoCodes) for validation.

#### Usage

[](#usage)

```
'inputType' => 'bicWidget',

```

### Birthday `birthdayWidget`

[](#birthday-birthdaywidget)

Validates a birthday.

#### Usage

[](#usage-1)

```
'inputType' => 'birthdayWidget',
'eval'      => [
    'minAge' => 18, // Set a min age. Set 0 to disable
    'maxAge' => 0, // Set a max age. Set 0 to disable
    'format' => 'd.m.Y' // The format of the input date

]

```

### IBAN `ibanWidget`

[](#iban-ibanwidget)

Validates an IBAN number.

Uses [IsoCodes](https://github.com/ronanguilloux/IsoCodes) for validation.

#### Usage

[](#usage-2)

```
'inputType' => 'ibanWidget',
'eval' => [
    'fields' => 22, // Number of input fields. Default is 22.
    'prefill' => '' // A optional prefilled value, for example to set the typical country (example: "DE").
]

```

### Phone `phoneWidget`

[](#phone-phonewidget)

Validates a phone number.

Uses [IsoCodes](https://github.com/ronanguilloux/IsoCodes) for validation.

#### Usage

[](#usage-3)

```
'inputType' => 'phoneWidget',
'eval' => [
    'countries' => ['DE', 'AT'] // Array with country codes
]

```

### Postal code `postalWidget`

[](#postal-code-postalwidget)

Validate a postal code.

Uses [IsoCodes](https://github.com/ronanguilloux/IsoCodes) for validation.

#### Usage

[](#usage-4)

```
'inputType' => 'postalWidget',
'eval'      => [
    'countries' => ['DE', 'AT'] // Array with country codes
]

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Recently: every ~25 days

Total

8

Last Release

2905d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (16 commits)")

---

Tags

contaoformhybrid

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-widgetcollection/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-widgetcollection/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-widgetcollection)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)

PHPackages © 2026

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