twig/inky-extra
Twig extension that adds the inky_to_html filter, converting Zurb Inky email templates into HTML. Useful for building responsive email markup within Twig templates in Symfony and other Twig-based apps.
{% if %}). Supports future roadmap items like personalized email journeys or localization.{{ user.name }}, conditional blocks).{{ user.locale }}).inky CLI or other templating engines.*"This package lets us ship polished, mobile-friendly emails at scale without hiring dedicated email designers. By integrating Inky’s responsive framework with Twig—our existing templating engine—we’ll cut email development time by 40% (based on similar tools like MJML) and reduce support costs from inconsistent templates. It’s a low-risk, high-reward move to standardize our email infrastructure, especially for transactional flows like onboarding and receipts.
Why now?
Ask: Approve a 2-month pilot with our top 3 email flows (password resets, order confirmations, welcome series) to measure dev time saved and error rates."*
Key Metrics to Track:
*"This is a drop-in Twig extension that compiles Inky templates to HTML on the fly. No new services or build steps—just add {{ template|inky_to_html }} to your Laravel mailables. It’s battle-tested by the Twig team (used in Symfony Mailer) and plays nicely with Laravel’s Mailable classes.
Proposal:
twig/inky-extra to composer.json and configure Twig for emails.InkyMailable class for consistency.Trade-offs:
Next Steps:
resources/views/emails)."**"This tool lets non-technical team members contribute to email templates using a simple, visual syntax (Inky) while keeping the logic in Twig. Here’s how it works:
{{ user.name }}, {% if user.premium %}).Example Workflow:
resources/views/emails/welcome.inky.Ask: Review the Inky syntax and provide feedback on whether it meets your needs for responsiveness and branding consistency."*
How can I help you explore Laravel packages today?