🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
TOFU (Template-Oriented Form Utilities) icon
Activement maintenu Testé avec WP 7.1

TOFU (Template-Oriented Form Utilities)

Template-Oriented Form Utilities is a WordPress plugin that simplifies form creation, validation, and processing via template-based data management.

Installations actives<10Nouveau
Téléchargements · 30D203▲ +22.3% vs prev. 30d
Évaluation—0 avis
Score de santé64/100Bon
Téléchargements de tous les temps907Since Feb 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.5PHP 8.1+
Téléchargements · 7j19• 0% semaine après semaine
Notre verdict

Choix solide

TOFU (Template-Oriented Form Ut… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 month ago, and scores 64/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 1 mois
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Nécessite PHP 8.1 ou plus récent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

244974Sep 4Oct 18Dec 2
Hier4
Moyenne quotidienne (1 ans)3
Jour de pointe993 Novembre 2026
12 Derniers mois917

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where TOFU (Template-Oriented For… stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
formes >100 10,000 Meilleurs plugins de formulaires →
template-oriented #11 211 Best template-oriented plugins →
utilities >100 1,100 Best utilities plugins →

About TOFU (Template-Oriented Form Utilities)

From the official readme · v0.1.4

Description

Template-Oriented Form Utilities (TOFU) is designed to streamline the process of creating and managing forms within WordPress themes and plugins. By adopting a template-oriented approach, TOFU allows developers to define form structures and behaviors using reusable templates, making it easier to manage/maintain with team collaboration through version control systems.

Forms are configured in the theme’s PHP code and nothing about them is stored in the database. A read-only screen under Tools shows each registered form’s pages, mail, fields and features, and points out pages and mail templates that don’t exist.

GitHub and documentation for this plugin can be found at:

https://github.com/lionheart-group/wp-template-oriented-plugins/tree/master/plugins/template-oriented-form-utilities

Services externes

This plugin relies on third-party services to protect your website from spam and automated attacks. Depending on your configuration, this plugin connects to the following services:

Google reCAPTCHA

  • Purpose: Protecting forms from spam and bot abuse.
  • When data is sent: When a page containing a reCAPTCHA-protected form is loaded or submitted.
  • Data sent: IP address, mouse movements, browser/device information, and duration of stay.
  • Service Provider: Google LLC.
  • Links: Google Privacy Policy, Google Terms of Service.

Tourniquet Cloudflare

  • Purpose: Privacy-focused alternative for bot protection and spam prevention.
  • When data is sent: When a user interacts with a form protected by Turnstile.
  • Data sent: Browser/device characteristics and interaction data (privacy-friendly, does not use cookies for tracking).
  • Service Provider: Cloudflare, Inc.
  • Links: Cloudflare Privacy Policy, Cloudflare Website Terms.

Installation

  1. From the WP admin panel, click “Plugins” -> “Add new”.
  2. In the browser input box, type “Template-Oriented Form Utilities”.
  3. Select the “Template-Oriented Form Utilities” plugin and click “Install”.
  4. Activez le plugin.

OR…

  1. Download the plugin from this page.
  2. Save the .zip file to a location on your computer.
  3. Open the WP admin panel, and click “Plugins” -> “Add new”.
  4. Click “upload”.. then browse to the .zip file downloaded from this page.
  5. Click “Install”.. and then “Activate plugin”.

Journal de modifications

The plugin's own hidden form fields have moved to a __tofu_ prefix, and the field names a form declares may no longer start with _tofu_ or __tofu_. Hidden field names renamed. _tofu_{key}_nonce → __tofu_{key}_nonce, _tofu_recaptcha_token → __tofu_recaptcha_token, _tofu_turnstile_token → __tofu_turnstile_token. All of the plugin's form fields now share one prefix, which the plugin also reserves, so a form's own field can never silently overwrite one. Themes using Form::formOpen()/formClose() and the Form:: helpers need no changes — the names are generated for you. AJAX/headless clients that hardcode these names must be updated. Clients reading field_name and token_field_name from GET /wp-json/tofu/v1/forms/{key}/nonce already follow automatically. Note the reCAPTCHA/Turnstile error keys in a {"success":false,"errors":{…}} response change with the field names. Nothing outside form fields changed: the _tofu_key query parameter, the _tofu_session_key cookie and the _tofu_form_{key} element ID are untouched, as they cannot collide with a form's field names. A visitor who loaded a form page before updating can still submit it: the old field names are accepted as a fallback for one release. Field names starting with _tofu_ or __tofu_ are now rejected at registration. FormConfig throws an InvalidArgumentException naming the offending field if allows, rules, names, messages or records declares one. Such a field never worked — PHP keeps only the last value for a repeated name, and the plugin's input is rendered last, so the form's own value was silently dropped. Rename the field. Submission nonces are now bound to the form. The redirect flow minted its nonce against a bare input/confirm action, so a nonce issued for one form verified against any other; the form key is now part of the action, as it already was for the REST flow. No configuration change is needed.

  • v0.0.1 – Initial release.
  • v0.0.2 – Arranged required PHP version to 8.1, added external services section to the readme.
  • v0.0.3
    • Implemented Ajax form submission and validation with reCAPTCHA and Turnstile support.
    • Fixed recaptcha issue when embedded multiple forms on the same page.
    • Replaced validation library from wixel/gump to somnambulist/validation.
  • v0.0.4
    • Added optional database recording of form submissions (saveToDatabase), encrypted at
      rest, with an admin screen to view recorded data.
    • Added Form::setTemplate() to override a form’s input/confirm/result URLs per visitor
      session, so a single registered form can be embedded on multiple pages (e.g. post
      templates); added FormConfig::$dynamicTemplate for forms configured this way.
  • v0.0.5
    • The AJAX nonce endpoint (GET /wp-json/tofu/v1/forms/{key}/nonce) now also returns the
      reCAPTCHA/Turnstile site key when enabled, so cross-origin/headless clients no longer need
      to hardcode it separately from the server-side configuration.
  • v0.0.6
    • Fixed: AJAX form submissions with a field literally named key could fail with a
      “form not found” error, because the REST handlers read the form key from the merged
      request parameters instead of strictly from the URL route.
  • v0.0.7
    • Replaced the bundled validation library with an in-house engine. The plugin now has no
      runtime dependencies at all. Every rule name still resolves, so existing rules:
      configuration keeps working — see the upgrade notice for the behavioural differences.
    • Added: required_file as the name of the required-file rule. custom_required_file,
      its name since 0.0.3, still works and runs the same code.
    • Fixed: a full-width space (U+3000) no longer satisfies required. It is what a Japanese
      IME emits for the space bar, so a field the visitor sees as empty could pass.
    • Fixed: required now recognises an empty file input as empty.
    • Fixed: after, before, extension and uuid no longer raise a fatal error on
      ordinary input — a blank date field was enough to return a 500.
    • Fixed: uploaded_file, mimes and extension now work. They depended on a check that
      is never true in this plugin’s request flow.
    • Fixed: a file carried over to the confirm page is verified against the server’s own
      session record, so a tampered form cannot claim an upload that is not there.
    • Fixed: the session cookie is issued only when a session is actually saved. It was
      previously sent on every request, including pages with no form and the admin screens,
      which is enough to stop most full-page caches serving anything cached.
    • Fixed: the plugin never called load_plugin_textdomain(), so its bundled Japanese
      translations were not loaded and validation, reCAPTCHA and Turnstile messages rendered
      in English on Japanese sites.
    • Fixed: “reCAPTCHA token is missing.” and “Turnstile token is missing.” were the only
      bot-protection messages not passed through __(), so they stayed English even on a
      translated site.
    • Fixed: none of the recorded-submissions admin screen’s text had been extracted for
      translation since it was added in 0.0.4, so translators never received it. It is in the
      .pot now, with Japanese supplied.
    • Tested against WordPress 7.1.
  • v0.1.0
    • Added: seven actions and filters, so code outside a form’s own configuration can react to
      submissions and extend validation — tofu_form_submitted,
      tofu_register_validation_rules, tofu_pre_send_mail, tofu_validation_failed,
      tofu_redirect_url, tofu_record_values and tofu_admin_page_capability. They fire for
      the redirect and AJAX flows alike. See docs/hooks/index.md.
    • Added: a named custom validation rule can now be registered site-wide, via the
      tofu_register_validation_rules action. The validator factory was previously unreachable,
      so this was not possible without editing the plugin.
    • Fixed: Form::setTemplate() no longer writes to the session, and so no longer sends a
      Set-Cookie, when a page is merely rendered. A theme calling it for each of its registered
      forms on every page load was issuing one cookie per form on every response — including
      pages with no form on them — which stops server and CDN page caches serving anything
      cached. The override is now carried to the following POST in a hidden field and persisted
      only when the visitor actually submits.
    • Fixed: at most one session cookie is issued per response. A single response can save the
      session more than once, and each save sent its own redundant Set-Cookie.
    • Fixed: database migrations now run when the plugin is updated. The plugin listened for
      upgrade_process_complete, which WordPress does not define — the hook is
      upgrader_process_complete — so migrations had only ever run on activation. A site that
      installed before a migration was added and updated since never received it; updating to
      this version applies anything outstanding. Migrations are tracked in wp_tofu_migrate and
      already-applied ones are skipped, so there is nothing to do by hand.
    • Fixed: a submission nonce is now bound to the form it was issued for. The redirect flow
      minted its nonce against a bare input/confirm action, so a nonce issued for one form
      verified against every other one; only the field name distinguished them, and a field name
      is a label the sender controls. The REST flow already did this.
    • Changed: the plugin’s own hidden field names now all use a __tofu_ prefix, and a form may
      no longer declare a field name starting with _tofu_ or __tofu_ — FormConfig throws at
      registration instead of letting the collision silently drop the form’s value. Breaking for
      AJAX/headless clients that hardcode those names; see the upgrade notice.
  • v0.1.1
    • Added: MailConfig::$returnPath sets the Return-Path (envelope sender) of the plugin’s
      emails, so bounces go to a chosen address instead of the server default. WordPress
      ignores a Return-Path: header passed to wp_mail(), so it is applied to PHPMailer’s
      Sender and only for the plugin’s own messages. Mail::setReturnPath() lets a
      tofu_pre_send_mail callback set it per recipient. See docs/settings/mailconfig.md.
  • v0.1.2
    • Added: a read-only screen under Tools -> Forms (TOFU) that shows each registered form’s
      pages, mail, fields and features, one tab per form. It points out pages and mail
      templates that don’t exist, bot protection that is enabled but not registered, and
      placeholders that are not allowed fields. Secret keys are never shown. The screen uses
      the same tofu_admin_page_capability as the records screen. See docs/admin/index.md.
    • Fixed: the migration that adds the data and submitted_at columns compares column
      names exactly. With LIKE, the _ in submitted_at matched any character, so a
      similarly named column could make the migration skip adding it.
    • Fixed: running the migrations a second time in the same request, after one had failed,
      stopped with a fatal error instead of retrying it.
    • Declared Requires at least: 6.0, so translate.wordpress.org imports the plugin’s strings.
    • Escaped and sanitized request values flagged by Plugin Check.
  • v0.1.3
    • Fixed: database migrations now also run when the plugin’s files are replaced without
      WordPress’s updater (FTP, deployments). The plugin compares the stored tofu_db_version
      with its own version on init and runs any outstanding migration once; a failed one is
      retried on the next request.
    • Requires WordPress 6.5.
  • v0.1.4
    • Fixed: validation errors were shown again every time the input page was reloaded. They
      are now shown once, on the page the visitor is sent back to; the entered values are
      kept until the form is sent.

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best TOFU (Template-Oriented Form… alternatives

All forms plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 WPForms – Générateur de formulaires AI pour WordPress – formulaires de contact, formulaires de paiement, formulaire de sondage, quiz WPForms Le meilleur plugin de formulaire de contact WordPress. Glissez/déposez un générateur de formulaires pour créer de beaux… de Syed Balkhi 5M+ ★★★★★★★★★★ 4.8 (14.4K) il y a 1 semaine 96
2 Formulaires fluides - formulaires de contact personnalisables, sondage, questionnaire et créateur de formulaires conversationnels Formulaires fluides Get a fast contact form plugin. Create advanced forms using drag and drop form builder with… by WPManageNinja 800K+ ★★★★★★★★★★ 4.8 (813) il y a 18 heures 97
3 Formulaires de formulaires – formulaire de contact, formulaire de paiement et constructeur de formulaires personnalisés Formulaires de formateur Best WordPress form builder plugin. Create contact forms, payment forms & order forms with… by WPMU DEV 600K+ ★★★★★★★★★★ 4.8 (2.2K) Il y a 2 semaines 94
4 Ninja Forms – Contact Form Builder with Calculators, Quizzes, Signatures & AI Form Builder Formulaires de Ninja Free WordPress form builder with calculations, signatures, star ratings, unlimited… by Kevin Stover 500K+ ★★★★★★★★★★ 4.4 (1.4K) il y a 1 semaine 87
5 SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz SureForms AI form generator and WordPress form builder for contact and Stripe payment forms, with… par la force du remue-méninges 500K+ ★★★★★★★★★★ 4.8 (106) il y a 7 jours 86
6 Formidable Forms – Contact Form, Survey, Quiz, Payment, Calculator Form & Custom Form Builder Formidable Forms Le générateur de formulaires AI glisser-déposer pour les formulaires de contact, les formulaires en plusieurs étapes, les formulaires de paiement… by Strategy11 Team 300K+ ★★★★★★★★★★ 4.8 (1.4K) Il y a 2 semaines 96
7 CMB2 CMB2 CMB2 is a metabox, custom fields, and forms library for WordPress that will blow your mind. by Justin Sternberg 300K+ ★★★★★★★★★★ 5 (91) il y a 1 mois 89
8 Marketing tout-en-un HubSpot – formulaires, popups, chat en direct Marketing tout-en-un HubSpot – formulaires, popups, chat en direct Le plugin CRM, ventes et marketing WordPress pour mieux développer votre entreprise. Capturer et… par HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) il y a 7 jours 81
9 Formulaires de signalisation de foule Formulaires de signalisation de foule Le plugin CrowdSignal Forms vous permet de créer et de gérer des sondages directement à partir de… par Automattic 200K+ ★★★★★★★★★★ 5 (3) Il y a 2 mois 73
10 BREVO - E-mail, SMS, Push Web, Chat, etc. BREVO - E-mail, SMS, Push Web, Chat, etc. Transformez votre site WordPress en une centrale de marketing. Augmentez votre audience, boostez votre engagement… par brevo 100K+ ★★★★★★★★★★ 4.1 (284) il y a 4 semaines 83

FAQ

TOFU (Template-Oriented Form Utilit…: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is TOFU (Template-Oriented Form Ut… free?

Yes. TOFU (Template-Oriented Form Ut… is free to download and use from the official WordPress.org plugin directory.

Is TOFU (Template-Oriented Form Ut… safe to use in 2026?

TOFU (Template-Oriented Form Ut… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 month ago, and scores 64/100 on our health check.

How many websites use TOFU (Template-Oriented Form Ut…?

TOFU (Template-Oriented Form Ut… is active on <10 WordPress websites and has been downloaded 907 times since it launched in February 2026. It was downloaded 203 times in the last 30 days.

Does TOFU (Template-Oriented Form Ut… work with WordPress 7.1?

Yes. The developer has tested TOFU (Template-Oriented Form Ut… up to WordPress 7.1.5, the latest release. It requires WordPress 6.5 or newer.

What PHP version does TOFU (Template-Oriented Form Ut… need?

TOFU (Template-Oriented Form Ut… requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was TOFU (Template-Oriented Form Ut… last updated?

The latest version, 0.1.4, was released on November 3, 2026 (1 month ago).

Who makes TOFU (Template-Oriented Form Ut…?

TOFU (Template-Oriented Form Ut… is developed and maintained by LionHeart Group.

What are the best alternatives to TOFU (Template-Oriented Form Ut…?

The most popular alternatives to TOFU (Template-Oriented Form Ut… are WPForms (5M+ installs), Fluent Forms (800K+ installs) and Forminator Forms (600K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir