PHPackages                             milesherndon/formstack - 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. milesherndon/formstack

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

milesherndon/formstack
======================

Plugin to integrate Formstack forms into Craft CMS 3.

1.0.3(7y ago)0411[1 PRs](https://github.com/MilesHerndon/craft-formstack/pulls)MITPHP

Since Sep 26Pushed 3y ago2 watchersCompare

[ Source](https://github.com/MilesHerndon/craft-formstack)[ Packagist](https://packagist.org/packages/milesherndon/formstack)[ RSS](/packages/milesherndon-formstack/feed)WikiDiscussions master Synced 3d ago

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

⛔️ DEPRECATED ⛔️

Formstack plugin for Craft CMS 3.x
==================================

[](#formstack-plugin-for-craft-cms-3x)

Plugin to integrate Formstack forms.

[![Formstack Logo](./resources/img/formstack-logo.svg)](./resources/img/formstack-logo.svg)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require milesherndon/formstack

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Formstack.

Formstack Overview
------------------

[](#formstack-overview)

This plugin has a Formstack Form fieldtype which allows the selection of forms. The field pulls the forms directly from the associated account.

Also, when the field is displayed, it provides the JSON returned from Formstack for the selected form.

Configuring Formstack
---------------------

[](#configuring-formstack)

Once installed, go to Settings -&gt; Formstack and save the oAuth token. This token can be found in the API settings within the Formstack account.

Using Formstack
---------------

[](#using-formstack)

**Field Type**

Create a field and select the Formstack Form field type.

**Display Form**

Set a form variable with the data returned form formstack.

`{% set formstack = craft.formstack.getFormById(entry.contactForm) %}`

By default, only fields are returned in the response. However, extra items can be returned by adding them as a second parameter like below:

`{% set formstack = craft.formstack.getFormById(entry.contactForm, ['viewkey', 'name']) %}`

This will pass the viewkey and the name in the response as well. To see what else can be returned, view the [API documentation here](https://developers.formstack.com/docs/form-id-get).

**Example Template**

```
{% set formstack = craft.formstack.getFormById(entry.contactForm, ['viewkey']) %}

    {% if formstack is defined %}

                {% for field in formstack.fields %}

                        {% if field.type == "name" or field.type == "text" or field.type == "email" or field.type == "phone" %}
                            {% if field.placeholder is defined and field.placeholder is not empty %}
                                {% set placeholder = field.placeholder %}
                            {% else %}
                                {% set placeholder = field.label %}
                            {% endif %}

                            {{field.label}} {% if field.required %} *{% endif %}
                        {% endif %}
                        {% if field.type == "textarea" %}

                            {{field.label}} {% if field.required %} *{% endif %}
                        {% endif %}
                        {% if field.type == "select" %}

                                    Choose One
                                    {% for option in field.options %}
                                        {{option.label}}
                                    {% endfor %}

                            {{field.label}} {% if field.required %} *{% endif %}
                        {% endif %}

                {% endfor %}

    {% endif %}

```

Formstack Roadmap
-----------------

[](#formstack-roadmap)

- Add extra checks to verify if form exists
- Allow for default form selection
- Add default templating
- Add caching of Formstack responses

Brought to you by [MilesHerndon](https://milesherndon.com)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

2775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91ffa7ea7937951c6684a517cc9c9fe239ff7f72b0bab7ec7ad4591a264095fc?d=identicon)[tokersey](/maintainers/tokersey)

---

Top Contributors

[![tokersey](https://avatars.githubusercontent.com/u/1431171?v=4)](https://github.com/tokersey "tokersey (2 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginformstack

### Embed Badge

![Health badge](/badges/milesherndon-formstack/health.svg)

```
[![Health](https://phpackages.com/badges/milesherndon-formstack/health.svg)](https://phpackages.com/packages/milesherndon-formstack)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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