PHPackages                             netresearch/config-fields-m2 - 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. netresearch/config-fields-m2

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

netresearch/config-fields-m2
============================

A collection of custom config types for Magento 2 system configuration development.

1.4.1(1mo ago)11362.5k↓40.9%2[1 issues](https://github.com/netresearch/config-fields-m2/issues)10OSL-3.0PHPPHP ~8.3.0||~8.4.0||~8.5.0CI passing

Since Mar 13Pushed 2w ago8 watchersCompare

[ Source](https://github.com/netresearch/config-fields-m2)[ Packagist](https://packagist.org/packages/netresearch/config-fields-m2)[ RSS](/packages/netresearch-config-fields-m2/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (10)Dependencies (6)Versions (16)Used By (10)

Custom Config Fields for Magento 2
==================================

[](#custom-config-fields-for-magento-2)

No more fiddly "Yes/No" dropdowns in your configuration.

This Magento 2 extension offers a selection of custom "Field Types" and "Frontend Models" for use in Magento 2 extensions with a system configuration section.

Features
--------

[](#features)

### Custom field types

[](#custom-field-types)

- Checkboxset: Functionally equivalent to native Magento field type `multiselect`
- Radioset: Functionally equivalent to native Magento field type `select`
- Checkbox: Functionally equivalent to native Magento field type `select` with `YesNo` source model
- Toggle: Same as "Checkbox", but with special styling
- TimeWithMinutePrecision: Works like the Magento field type `time` but hides the 'seconds' selection.

### Custom frontend model blocks

[](#custom-frontend-model-blocks)

- InfoBox: A customizable information section for your extension

Installation via composer
-------------------------

[](#installation-via-composer)

Requires PHP 8.3, 8.4 or 8.5 and Magento 2.4.8 or 2.4.9.

```
composer require netresearch/config-fields-m2:*
```

Usage
-----

[](#usage)

In your Magento 2 extension's `etc/adminhtml/system.xml`, enter the class name of one of the Types at `Netresearch\ConfigFields\Model\Type`.

For example:

```

    Logging
    Record messages to Magento logs
    You must have global logging activated for this to work.

    Logging Level

        1

    Some\Module\Model\Config\Source\LogLevel
    The log level Debug may result in very large log files.

```

Custom frontend model blocks may use additional configuration values transmitted via `` nodes:

For example:

```

    Netresearch\ConfigTypes\Block\InfoBox
    Some_Module::images/logo.svg
    Some_Module::system/config/infoBoxBody.phtml
    Some_Module::system/config/infoBoxHeader.phtml
    Some\Module\ViewModel\Adminhtml\System\InfoBox
    #ffcc01

```

The available attributes are documented inside the Block source code file.

Support &amp; Issues
--------------------

[](#support--issues)

This extension is provided "as is", the author does not offer or promise any support. However, feel free to open a GitHub issue for any problems you encounter.

###  Health Score

67

—

FairBetter than 99% of packages

Maintenance93

Actively maintained with recent releases

Popularity43

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

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

Recently: every ~514 days

Total

12

Last Release

31d ago

PHP version history (5 changes)1.0.0PHP ^7.0.0

1.2.0PHP ^7.1.3

1.3.0PHP ^7.2.0 || ^8.1.0

1.4.0PHP ^8.3.0

1.4.1PHP ~8.3.0||~8.4.0||~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/151247?v=4)[Netresearch DTT GmbH](/maintainers/netresearch)[@netresearch](https://github.com/netresearch)

![](https://www.gravatar.com/avatar/efd68399f95aa07110668d9af1a47a8030d8df5ec5af4b28e821d442d787583a?d=identicon)[team-mage](/maintainers/team-mage)

![](https://www.gravatar.com/avatar/695e3bfd8205ec067be29cbcf46630d7fc6586d050acbe630783a1d382cac71f?d=identicon)[moehrenzahn](/maintainers/moehrenzahn)

---

Top Contributors

[![mam08ixo](https://avatars.githubusercontent.com/u/1771622?v=4)](https://github.com/mam08ixo "mam08ixo (9 commits)")[![Sebastian80](https://avatars.githubusercontent.com/u/6400300?v=4)](https://github.com/Sebastian80 "Sebastian80 (7 commits)")[![AndreasMueller75](https://avatars.githubusercontent.com/u/32193606?v=4)](https://github.com/AndreasMueller75 "AndreasMueller75 (3 commits)")[![magicsunday](https://avatars.githubusercontent.com/u/564393?v=4)](https://github.com/magicsunday "magicsunday (3 commits)")[![CybotTM](https://avatars.githubusercontent.com/u/326348?v=4)](https://github.com/CybotTM "CybotTM (2 commits)")[![moehrenzahn](https://avatars.githubusercontent.com/u/4653731?v=4)](https://github.com/moehrenzahn "moehrenzahn (1 commits)")[![powli](https://avatars.githubusercontent.com/u/4511053?v=4)](https://github.com/powli "powli (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

magento2magento2-extensionmagento2-modulemagento2-plugin

### Embed Badge

![Health badge](/badges/netresearch-config-fields-m2/health.svg)

```
[![Health](https://phpackages.com/badges/netresearch-config-fields-m2/health.svg)](https://phpackages.com/packages/netresearch-config-fields-m2)
```

###  Alternatives

[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

282822.9k](/packages/baldwin-magento2-module-url-data-integrity-checker)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)[angeo/module-llms-txt

Magento 2 module for AI Engine Optimization (AEO). Generates spec-compliant llms.txt and llms-full.txt per llmstxt.org standard, plus streaming JSONL for vector indexing. Multi-store, multi-website, CLI, cron, async admin UI, Page Builder-aware sanitization, customer-group pricing, atomic writes, ETag/Cache-Control, .md mirrors.

111.1k](/packages/angeo-module-llms-txt)

PHPackages © 2026

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