PHPackages                             tentapress/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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. tentapress/forms

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

tentapress/forms
================

v0.4.3(2mo ago)00MITPHPPHP ^8.2

Since Feb 27Pushed 2mo agoCompare

[ Source](https://github.com/tentaplane/plugin-forms)[ Packagist](https://packagist.org/packages/tentapress/forms)[ RSS](/packages/tentapress-forms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Forms
=====

[](#forms)

Forms block and submission targets for TentaPress.

Plugin Details
--------------

[](#plugin-details)

FieldValueID`tentapress/forms`Version0.4.3Provider`TentaPress\Forms\FormsServiceProvider`Features
--------

[](#features)

- Registers a `forms/signup` block in the block registry.
- Renders configurable form fields (email, text, textarea, checkbox, select, hidden).
- Submits to a local endpoint with CSRF protection, honeypot, and minimum elapsed-time spam checks.
- Supports provider configuration props for Mailchimp, TentaForms, and Kit.
- Applies rate limiting to form submissions to reduce abuse.

Dependencies
------------

[](#dependencies)

- `tentapress/blocks`

Public Routes
-------------

[](#public-routes)

MethodPathNamePOST`/forms/submit/{formKey}``tp.forms.submit`Data Handling
-------------

[](#data-handling)

- Submission payloads are forwarded to destination providers.
- PII is not stored in plugin database tables in MVP.
- Logs store metadata and optional hashed email for diagnostics.

For Site Owners (No Code)
-------------------------

[](#for-site-owners-no-code)

You can connect a signup form to Kit in a few minutes:

1. Open the page in the editor and add the **Form** block.
2. In the block settings, choose **Provider = Kit**.
3. Paste your **Kit API Key** and **Kit Form ID**.
4. Optional: add a **Kit Tag ID** if you want new subscribers auto-tagged.
5. Publish the page and submit a test entry to confirm it works.

Where to find these values in Kit:

- **API Key**: Kit account settings -&gt; API.
- **Form ID**: the numeric ID for the form receiving subscribers.
- **Tag ID**: optional numeric ID for the tag to auto-apply.

If something fails, the form will show a friendly error and your visitor's typed values are kept so they can retry.

Quick Provider Notes
--------------------

[](#quick-provider-notes)

- **Mailchimp**: use Action URL (+ optional list/GDPR fields).
- **TentaForms**: use form ID (+ environment).
    - In local/testing, TentaForms uses safe stub mode by default unless explicitly disabled.
- **Kit**: use API Key + Form ID (+ optional Tag ID).

Rollout and Fallback Guidance (Operators)
-----------------------------------------

[](#rollout-and-fallback-guidance-operators)

Recommended rollout:

1. Start with one low-risk form (for example, newsletter signup).
2. Submit test entries and confirm subscribers appear in your provider.
3. Roll out to additional forms once the first form is stable.

If a provider has issues:

- Keep the same form fields and switch **Provider** to a known-good destination.
- Keep a clear fallback message in `error_message` so visitors know to retry.
- For local/testing environments, TentaForms stays safely stubbed by default.

Diagnostics in logs:

- `forms.submission.result` for all attempts.
- `forms.submission.failed` for failed attempts.
- Useful fields include `attempt_id`, `provider`, `status_code`, and `failure_category`.

Release Notes
-------------

[](#release-notes)

### 0.4.3

[](#043)

- Expanded Pest regression coverage for submission flows and migration command behavior.
- Added Mailchimp destination fake-HTTP regression tests.
- Completed release-readiness validation pass for forms test suite.

### 0.4.2

[](#042)

- Added structured diagnostics logs for provider submission failures.
- Added operator rollout and fallback guidance.

### 0.4.1

[](#041)

- Added named forms submission throttling policy.
- Hardened TentaForms default stub behavior by environment.

### 0.4.0

[](#040)

- Added Kit destination support (API mode) with provider configuration fields.
- Added baseline Kit destination tests and updated site-owner setup guidance.

Development
-----------

[](#development)

```
php artisan tp:plugins sync
php artisan tp:plugins enable tentapress/forms
php artisan tp:forms:migrate-newsletter --dry-run
php artisan tp:forms:migrate-newsletter
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance84

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

3

Last Release

80d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11545f8e3c50e6d1466ac2948bd15c952a2dc721ba413cfd9f72334a33715f1a?d=identicon)[csoutham](/maintainers/csoutham)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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