PHPackages                             roelmagdaleno/wp-settings-page-fields - 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. roelmagdaleno/wp-settings-page-fields

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

roelmagdaleno/wp-settings-page-fields
=====================================

A package to render form fields in WordPress settings pages.

0.1.7(1y ago)640MITPHPPHP ^7.4|^8.0

Since Jul 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/roelmagdaleno/wp-settings-page-fields)[ Packagist](https://packagist.org/packages/roelmagdaleno/wp-settings-page-fields)[ RSS](/packages/roelmagdaleno-wp-settings-page-fields/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (9)Versions (9)Used By (0)

WP Settings Page Fields
=======================

[](#wp-settings-page-fields)

A package to render form fields in WordPress settings pages.

You might need a settings page with a form and its fields and you have to render the fields every time you create a custom plugin.

Maybe, you already have some snippets that generates the form fields for you, otherwise this package is for you.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require roelmagdaleno/wp-settings-page-fields
```

Usage
-----

[](#usage)

Every supported form element extends the `Roel\WP\Settings\Element` class and must be instantiated with the same constructor:

```
