PHPackages                             develtio/wp-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. develtio/wp-forms

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

develtio/wp-forms
=================

Make forms doable

1.10.1(4y ago)21.5k[1 PRs](https://github.com/develtio/wp-forms/pulls)MITPHP

Since Sep 1Pushed 4y ago10 watchersCompare

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

READMEChangelog (6)Dependencies (4)Versions (27)Used By (0)

[![](https://camo.githubusercontent.com/e400edcab5b029a83c60d0168ece7f1ba19e139bb5bb302cd8adbd905d17be99/68747470733a2f2f677265656e706172726f742e706c2f736f6674776172652d686f7573652f6170702f7468656d65732f646576656c74696f2f646973742f696d616765732f6c6f676f5f30333336666631642e737667)](https://camo.githubusercontent.com/e400edcab5b029a83c60d0168ece7f1ba19e139bb5bb302cd8adbd905d17be99/68747470733a2f2f677265656e706172726f742e706c2f736f6674776172652d686f7573652f6170702f7468656d65732f646576656c74696f2f646973742f696d616765732f6c6f676f5f30333336666631642e737667)

Develtio Forms
==============

[](#develtio-forms)

Plugin that allows you to create and manage forms. Each created form generates a new post type and saves all sent data as separate fields in WP administration.

Use
---

[](#use)

We use the Nette From library to building the forms ()

Example

```
if ( class_exists( '\Develtio\WP\Forms\Modules\Forms\CreateForm' ) ) {
    $options = [
        'send_mail' => true, // enables / disables sending an email, enabled by default
        'send_confirm_mail' => true // enables / disables sending of confirmation email, disabled by default
    ];

    $instance = new \Develtio\WP\Forms\Modules\Forms\CreateForm('Sample Form', $options);

    $mail = $instance->mail;
    $mail->setFrom(['noreply@example.com' => 'Sample form']);
    $mail->setTo(['info@example.com']);
    $mail->setTitle('Mail title');
    $mail->setConfirmMailField('contact_email'); // optional, if we send a confirmation e-mail, enter the name of the field from which the e-mail address is to be retrieved

    $form = $instance->form; // Nette Forms Instance
    $form->addText('contact_name')->setHtmlAttribute('placeholder', __('Name', 'develtio'));
    $form->addEmail( 'contact_email' )->setHtmlAttribute( 'placeholder', __( 'E-mail' ) )->setRequired( true );

    $instance->save(); // Generate a form and post type
}
```

Example with CSV export for CPT

```
    $options = [
        'send_mail' => true, // enables / disables sending an email, enabled by default
        'send_confirm_mail' => true // enables / disables sending of confirmation email, disabled by default
        'csv_export' => true,
        'csv_export_fields' => [
            'id' => 'ID',
            'date' => 'Created At',
            'form_name' => 'Name',
            'form_surname' => 'Surname',
            'form_email' => 'Email',
            'form_phone' => 'Phone',
            'form_specialization' => 'Specialization',
            'form_experience' => 'Experience',
            'form_description' => 'Description',
            'form_linkedin' => 'LinkedIn',
            'form_cv' => 'CV',
            'form_consent' => 'Consent'
        ]
    ];

```

Templates
---------

[](#templates)

##### Form template

[](#form-template)

By default, the fields will be displayed below each other, Nette Forms provides a modification of this display presented here Alternatively, you can manually set the display of the form with `$instance->setTemplate($template);` and special fields names `field-name_field` and `field-name_error`if you want to use forms as a shortcode.

##### Example

[](#example)

```

            {contact_name_field}
            {contact_name_error}

            {contact_email_field}
            {contact_email_error}

            Send

```

If the shortcode is not going to be used, you can create a template using, references `$form['field-name']->control` and `$form['field-name']->error` instead `field-name_field` and `field-name_error`

#### Success template

[](#success-template)

You can Customize thank you message in this way:

```
    $instance->setSuccessTemplate('Thank you for contacting us');
```

#### Confirm template

[](#confirm-template)

MethodParamsDescription`$mail->setConfirmTemplate( $tempalte )`html or path to filefull mail confirm template`$mail->setConfirmTemplateContent( $content )`html or stringmail content`$mail->setConfirmTemplateTitle( $title )`html or stringmail title#### Mail template

[](#mail-template)

MethodParamsDescription`$mail->setMailTemplate( $tempalte )`html or path to filefull mail templateIn the place where the data should be displayed, place the `{content}` string.

Display
-------

[](#display)

The form can be displayed in two ways. You can create your own function based on the instance `$instance->form` and display it in the appropriate place on the page, or You can use a shortcode that is generated automatically from the form name e.g. `Sample form` creates `[sample-form]` shortcode.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 76.9% 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 ~18 days

Recently: every ~50 days

Total

25

Last Release

1536d ago

Major Versions

0.1.8 → 1.8.12021-06-30

1.10.0 → 2.0.x-dev2021-08-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/50c47778f0473f481e27eeee4d488ddc2391543c5edaaf0926e6689e3458d5f6?d=identicon)[develtio](/maintainers/develtio)

---

Top Contributors

[![cmachu](https://avatars.githubusercontent.com/u/6084116?v=4)](https://github.com/cmachu "cmachu (10 commits)")[![maciej-krzyzowski](https://avatars.githubusercontent.com/u/56648602?v=4)](https://github.com/maciej-krzyzowski "maciej-krzyzowski (2 commits)")[![MariuszT](https://avatars.githubusercontent.com/u/643860?v=4)](https://github.com/MariuszT "MariuszT (1 commits)")

---

Tags

pluginwordpressnetteForms

### Embed Badge

![Health badge](/badges/develtio-wp-forms/health.svg)

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

###  Alternatives

[contributte/forms-multiplier

Multiplier for nette forms

281.4M3](/packages/contributte-forms-multiplier)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

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