🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
HXFE — Code-First Forms icon
Maintenu Testé avec WP 7.1

HXFE — Code-First Forms

Define forms as PHP arrays. AI-ready, Git-managed, zero database — contact forms, step forms, chatbots, and surveys. Powered by htmx.

Installations actives<10Nouveau
Téléchargements · 30D154▼ -18.1% vs prev. 30d
Évaluation—0 avis
Score de santé54/100Juste
Téléchargements de tous les temps1.6KDepuis juin 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 7.4+
Téléchargements · 7j26▼ -39,5% Semaine sur semaine
Notre verdict

Utiliser avec prudence

HXFE — Code-First Forms works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 54/100 on our health check.

  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

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

Téléchargements quotidiens

81726Sep 4Oct 18Dec 2
Hier5
Moyenne quotidienne (1 ans)9
Jour de pointe5012 Juin 2026
12 Derniers mois1.6K

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 HXFE — Code-First Forms stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
ajax >100 9,225 Meilleurs plugins Ajax →
chatbot >100 1,842 Meilleurs plugins de chatbot →
Formulaire de contact >100 10,000 Meilleurs plugins de formulaire de contact →
Générateur de formulaires >100 6,034 Meilleurs plugins de création de formulaires →
htmx #7 10 Best htmx plugins →

About HXFE — Code-First Forms

À partir du Lisezmoi officiel · v1.4.6

Description

HXFE — Code-First Forms is a code-first WordPress form plugin. Instead of building forms in a GUI, you define them as PHP arrays and place a shortcode anywhere.

Because forms are PHP arrays, AI coding tools (Claude, Cursor, GitHub Copilot, Codex) can read and edit them directly — no screenshots, no GUI walkthroughs, no copy-paste. Your forms live in your codebase: version-controlled, automatically deployed, and free from database migration issues.

Even if you don’t write PHP yourself, AI agents can handle the schema for you — just describe what you want in plain language and get back working code.

Why code-first?

  • AI-ready by design — Forms defined as PHP arrays are the lowest-cost input for AI agents. Ask Claude, Copilot, Cursor, or Codex to “add a phone number field” and get back a diff-ready code change instantly. No screenshots needed, no GUI explanation required. You don’t even need to write PHP yourself — AI agents can build and maintain your forms from plain-language instructions. Ships with llms.txt, ai-reference.md, and CLAUDE.md for agentic coding tools
  • Fully customizable — All styles use CSS custom properties (design tokens). Ships with DESIGN.md for a complete variable reference and customization examples.
  • Git history for free — Every change to your form shows up in git diff
  • Deploy without fear — Forms are code, so they deploy with your theme. No more “the form disappeared on production”
  • Dynamic options — Pull select options from get_posts(), taxonomies, or any PHP source. No manual updates
  • One schema, four UIs — Add step_mode: chatbot or one_by_one to transform the same fields into a completely different interface

Four UI modes from one schema

  • Normal form — Classic input → confirm → complete flow (default)
  • Step form — Multi-page with progress bar (steps array)
  • One-by-one — Question-at-a-time survey style (step_mode: 'one_by_one')
  • Chatbot — Chat bubble interface with typing animation, header, and timestamps (step_mode: 'chatbot')

Principales caractéristiques

  • 15 field types: text, email, tel, url, textarea, select, radio, checkbox, checkbox_group, number, date, file, honeypot, reCAPTCHA, privacy
  • Conditional logic: show_if, required_if, skip_if (hide_if deprecated) — works in chatbot mode too
  • Dynamic routing: to_rules, subject_rules, complete_redirect_rules, complete_html_rules based on submitted values
  • Diagnosis mode: use complete_html_rules without to — show results without sending email
  • Download after submit: download_url shows a download button on the complete screen (document request forms)
  • Form availability window: available_from / available_until with custom before/after HTML
  • Custom validation: pattern, minlength, maxlength, error_message schema keys + hxfe_validate_field and hxfe_validate_form filter hooks
  • Field HTML injection: before_html / after_html schema keys
  • Page slug tracking: subject auto-appended with [form-id@page-slug] for per-page aggregation
  • Webhook support: send to Zapier, Make, Slack, or any HTTP endpoint
  • SMTP built-in: Gmail, SendGrid, Mailgun, or custom SMTP
  • File upload: attached to email, auto-deleted after send
  • IP restriction and password-protected forms
  • iframe embedding with per-form CORS control (allowed_origins)
  • Zero cookies: GDPR/EU cookie-compliant by design
  • Clean default styles: CSS custom properties (design tokens) for easy theme integration, responsive at 768px
  • Schema examples panel in admin: 11 copy-paste samples to get started fast
  • AI-friendly: ships with llms.txt and ai-reference.md for agentic coding tools
  • Source code: available on GitHub

Minimum example

add_filter( 'hxfe_schemas', function( $schemas ) {
    $schemas['contact'] = [
        'id'      => 'contact',
        'to'      => 'admin@example.com',
        'subject' => 'Contact: {name}',
        'fields'  => [
            [ 'key' => 'name',  'type' => 'text',     'label' => 'Name',    'required' => true ],
            [ 'key' => 'email', 'type' => 'email',    'label' => 'Email',   'required' => true ],
            [ 'key' => 'body',  'type' => 'textarea', 'label' => 'Message', 'required' => true ],
            [ 'key' => 'hp',    'type' => 'honeypot' ],
        ],
    ];
    return $schemas;
} );

Shortcode: [hxfe_form id="contact"]

Chatbot example

$schemas['support'] = [
    'id'        => 'support',
    'to'        => 'admin@example.com',
    'step_mode' => 'chatbot',
    'bot_name'  => 'Support Bot',
    'bot_icon'  => '🤖',
    'greeting'  => 'Hi! How can I help you today?',
    'fields'    => [
        [ 'key' => 'name',  'type' => 'text',  'label' => 'Name',
          'bot_message' => 'What is your name?' ],
        [ 'key' => 'email', 'type' => 'email', 'label' => 'Email',
          'bot_message' => 'Thanks {name}! What is your email?' ],
        [ 'key' => 'hp', 'type' => 'honeypot' ],
    ],
];

Diagnosis chatbot (no email)

$schemas['diagnosis'] = [
    'id'        => 'diagnosis',
    // No 'to' — result shown without sending email
    'step_mode' => 'chatbot',
    'complete_html_rules' => [
        [ 'when' => ['plan', '==', 'basic'],
          'html' => '<h3>Basic plan recommended</h3><p>Hi {name}!</p>' ],
        [ 'when' => 'default',
          'html' => '<p>Thank you, {name}. We will be in touch.</p>' ],
    ],
    'fields' => [ ... ],
];

Organize schemas in separate files

// functions.php — one line
require_once get_template_directory() . '/inc/hxfe-forms.php';

Or use HXFE as a standalone plugin with glob() auto-loading.

Services externes

This plugin optionally connects to Google reCAPTCHA when the recaptcha field type is enabled in a form schema.

What the service is and what it is used for:
Google reCAPTCHA is a spam-prevention service. When enabled, it loads a script from Google’s servers and verifies the user’s response server-side to determine whether the form submission is from a human or a bot.

What data is sent and when:
When a page containing an HXFE form with reCAPTCHA is loaded, the visitor’s browser loads the reCAPTCHA script from google.com. On form submission, the reCAPTCHA token generated in the visitor’s browser is sent to Google’s verification endpoint (https://www.google.com/recaptcha/api/siteverify) along with your site key. No other form field data is transmitted to Google.

reCAPTCHA is disabled by default. It is only active when a site administrator adds a recaptcha field to a form schema and configures valid API keys in the plugin settings.

Links:
* Google reCAPTCHA Terms of Service: https://policies.google.com/terms
* Google Privacy Policy: https://policies.google.com/privacy

Installation

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate in Plugins → Installed Plugins
  3. Add schemas via the hxfe_schemas filter in functions.php
  4. Place [hxfe_form id="your-id"] in any page or post
  5. View all registered forms at Settings → Form Engine — Forms

Journal de modifications

1.4.6

  • Security: Webhook requests now use reject_unsafe_urls to block requests to internal IPs and unsafe ports (SSRF hardening, found in monthly AI-driven security review)

1.4.5

  • Added: hxfe_after_submit action hook — fires after successful form submission with $form_id, $values, $schema. Enables third-party plugins (e.g. HXMD) to capture submissions

1.4.4

  • Added: Cloudflare Turnstile field type (type: 'turnstile') — privacy-friendly spam protection as an alternative to reCAPTCHA
  • Added: Turnstile managed mode (auto-verification widget) and invisible mode (no UI, token obtained on submit)
  • Added: Turnstile site key / secret key settings under Settings → HXFE
  • Added: Server-side verification against Cloudflare’s siteverify API with fail-closed behavior in production

1.4.3

  • Fixed: Resolved double URL-encoding of the SMTP test result message (removed redundant urlencode/urldecode)
  • Fixed: Sanitize $_GET[‘test_msg’] before use in the settings page
  • Fixed: Shortened Short Description to under 150 characters

1.4.2

  • Added: SECURITY.md — security policy, vulnerability reporting, and disclosure timeline
  • Added: MAINTENANCE.md — architecture overview, htmx update steps, and fork guide
  • Docs: Updated ai-reference.md — added design philosophy and maintainability section for AI agents

1.4.1

  • Updated: htmx 1.9.12 → 2.0.10
  • Changed: htmx script handle renamed to ‘hx-htmx’ (HX series shared handle)
  • Improved: Added wp_script_is() check to prevent duplicate htmx loading

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 HXFE — Code-First Forms alternatives

Tous les plugins Ajax →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 zipAddr-jp zipAddr-jp ZipAddr-JP est un outil collaboratif qui saisit automatiquement les adresses des codes postaux. par ta_terunuma 50K+ ★★★★★★★★★★ 5 (6) il y a 4 mois 71
2 SearchWP Live Ajax Recherche SearchWP Live Ajax Recherche Modèle de recherche en direct alimenté par le modèle WordPress. Ne nécessite pas de recherche, mais… de Syed Balkhi 40K+ ★★★★★★★★★★ 4.7 (36) il y a 4 mois 79
3 Sondages WP Sondages WP Ajoute un système de sondage Ajax à votre blog WordPress. Vous pouvez également ajouter facilement un sondage à votre… de Lester Chan 30K+ ★★★★★★★★★★ 4.2 (136) il y a 4 semaines 84
4 WP-posttings WP-posttings Ajoute un système de notation Ajax pour le contenu de votre site WordPress. de Lester Chan 20K+ ★★★★★★★★★★ 4.4 (178) Il y a 3 mois 77
5 WPC AJAX Ajouter au panier pour WooCommerce WPC AJAX Ajouter au panier pour WooCommerce Il s’agit d’un plugin très efficace pour aider les magasins en ligne à réduire le temps de chargement du site… par wpclever 10K+ ★★★★★★★★★★ 4.4 (18) Il ya 3 jours 83
6 Recherche de Relevanssi en direct Ajax Recherche de Relevanssi en direct Ajax Modèle de recherche en direct alimenté par le modèle WordPress. Compatible avec la recherche Relevanssi ! Par Christoph Vielgrader 7K+ ★★★★★★★★★★ 5 (9) il y a 6 jours 73
7 Mise à jour automatique du panier Ajax pour WooCommerce Mise à jour automatique du panier Ajax pour WooCommerce Un plugin Light qui met à jour automatiquement la page du panier et le mini-cart lorsque la quantité de produit est… par Taisho 7K+ ★★★★★★★★★★ 5 (214) Il y a 6 ans 46
8 Activer les COR Activer les COR Veuillez lire la description du plugin avant d'installer pour garantir la compatibilité et éviter… Par Dev Kabir 5K+ ★★★★★★★★★★ 3.7 (3) il y a 1 mois 75
9 Charger plus n'importe quoi Charger plus n'importe quoi Add Load More buttons, Ajax pagination, and Infinite Scroll to blog posts, WooCommerce… Par Akhtarujjaman Shuvo 5K+ ★★★★★★★★★★ 4.5 (73) il y a 6 jours 87
10 Filtre YMC Filtre YMC Un plugin puissant et flexible pour filtrer et afficher les publications, les types de publication personnalisés et autres… par YMC 4K+ ★★★★★★★★★★ 4.8 (34) Il y a 2 semaines 92

FAQ

HXFE — Code-First Forms: quick answers

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

Source : WordPress.org

Is HXFE — Code-First Forms free?

Yes. HXFE — Code-First Forms is free to download and use from the official WordPress.org plugin directory.

Is HXFE — Code-First Forms safe to use in 2026?

HXFE — Code-First Forms works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 54/100 on our health check.

How many websites use HXFE — Code-First Forms?

HXFE — Code-First Forms is active on <10 WordPress websites and has been downloaded 1,551 times since it launched in June 2026. It was downloaded 154 times in the last 30 days.

Does HXFE — Code-First Forms work with WordPress 7.1?

Yes. The developer has tested HXFE — Code-First Forms up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does HXFE — Code-First Forms need?

HXFE — Code-First Forms requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was HXFE — Code-First Forms last updated?

The latest version, 1.4.6, was released on August 20, 2026 (3 months ago).

Who makes HXFE — Code-First Forms?

HXFE — Code-First Forms is developed and maintained by youheiokubo.

What are the best alternatives to HXFE — Code-First Forms?

The most popular alternatives to HXFE — Code-First Forms are zipaddr-jp (50K+ installs), SearchWP Live Ajax Search (40K+ installs) and WP-Polls (30K+ 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