daun/statamic-latte
Use the Latte templating engine in Statamic. This addon integrates Latte rendering into your Statamic site, letting you build layouts, views, and components with Latte’s clean, secure syntax alongside Statamic’s content and data.
{!! !!}-style escaping logic and the XSS review burden that comes with it. That's a risk-reduction line item, not just a feature.n:href attribute (current / external / download link marking) removes a recurring custom-helper task. If you have an accessibility conformance goal — or a design system that specifies distinct treatments for current-page, external, and download links — this converts a per-project chore into a configuration decision.iftext / n:iftext makes "is this text visible to the user?" an assertable, template-level concept. That supports a decision to lean on template-level tests rather than brittle end-to-end selectors for conditional content, which is usually cheaper to maintain and less flaky.Adopt when:
n:href work is otherwise duplicated in every project.n: prefix conventions are the package's idiom and are worth standardizing on deliberately.Look elsewhere when:
For executives: This is a routine minor release with no breaking changes and no migration effort. Its value is risk reduction and compliance-adjacent polish: smarter escaping lowers the chance of injected markup from content fields reaching users, and built-in link-state markup supports accessibility requirements we'd otherwise pay to build and maintain ourselves. Recommendation is to take it in the normal upgrade cadence — no dedicated budget or roadmap slot required.
For engineering: Additive only — one escaping improvement for HTML-emitting field types, an n:href attribute that tags current/external/download links, and an iftext tag plus n:iftext attribute for asserting visible content. All opt-in; no deprecations. Upgrade is low-risk, but do a regression pass on any templates that currently hand-escape field output, and confirm the new escaping behavior doesn't double-escape existing sanitized fields. Worth standardizing the n: conventions in the style guide if we adopt.
How can I help you explore Laravel packages today?