uams-web/statamic-alpine-csp-forms
A Statamic addon that makes Alpine.js forms work under a strict Content Security Policy. Build forms in Antlers that submit without inline handlers or unsafe-eval, using CSP-safe external scripts and nonces so you can keep headers locked down.
unsafe-eval/unsafe-inline.Consider it when:
unsafe-eval/unsafe-inline for form field conditions.Look elsewhere when:
For executives: This is a small, MIT-licensed Statamic add-on that lets dynamic form behavior run under a strict Content Security Policy. It was extracted from a real site, which reduces the cost and risk of building and maintaining that capability ourselves. The main caveat is maturity: it is a 0.x pre-release, so we should pilot it with pinned versions rather than treat it as a long-term stable dependency.
For engineering: v0.1.0 packages the CSP-safe alpine_csp form JavaScript driver and its browser-side field-conditions evaluator as a Statamic add-on. It is CSP-safe by design, avoids bespoke per-site JavaScript, and is published under MIT. Engineering should note that pre-1.0 minor releases may include breaking changes called out at the top of release notes, so version pinning, changelog review, and an upgrade path are required before production adoption.
How can I help you explore Laravel packages today?