API Reference Phtmx v#0.2.0

Copy Markdown View Source

Modules

A tiny, dependency-light integration layer between HTMX and Phoenix.

Detects HTMX requests and strips the root layout so responses to HTMX are bare HTML fragments instead of full pages.

Parsed HTMX request metadata, derived from the HX-* request headers that the HTMX client sends.

Controller helpers for driving the HTMX client from the server via HX-* response headers.

Mix Tasks

Installs phtmx into a Phoenix 1.8+ application.