filipegar/inky
Inky is a PHP implementation of ZURB's Inky parser for Foundation for Email. It converts semantic components like button, callout, and row into table-based HTML emails, with configurable grid columns, tag aliases, and custom component factories.
<row>, <columns>, <button>, <callout>) into email-client-safe markup at send time. This directly supports any roadmap item involving transactional or marketing email at scale.inky library or MJML via Node, or (c) adopt this package. This is a genuine buy decision — the cost is a small dependency with a permissive license, not a negotiated contract.addAlias, custom ComponentFactoryInterface) for bespoke components, which is useful if product wants proprietary email modules (e.g., a branded promo banner) rendered consistently across services.Strong fit when:
Look elsewhere or proceed with caution when:
PHPHtmlParser) is required before any customer-facing email path uses it.Adoption gate (recommended): run a spike that renders the top 10 real production email templates through this package, diff output against your current templates across the major clients, and time-box a fork review. Adopt only if output parity is acceptable and the code is small enough for the team to own.
For executives: This is a small, MIT-licensed PHP component that lets our Laravel services generate responsive, email-client-safe HTML at send time using the same component language our designers already use for Foundation for Emails. It reduces a class of recurring, hard-to-diagnose email rendering bugs and shortens the loop between a template change and a verified send. The financial exposure is minimal (free license, small dependency); the real cost is a short due-diligence and fork-readiness step because the project is early-stage with limited community adoption. Recommendation: approve a time-boxed evaluation, not a blanket commitment.
For engineering: The package exposes a clean API — instantiate Inky, optionally configure grid columns, register tag aliases, and add custom ComponentFactoryInterface implementations to convert bespoke tags. It returns transformed HTML suitable for any mailer. The trade-offs: it is essentially a single-maintainer project with one star and no dependents, so treat it as vendored code you may need to own. It brings a transitive HTML-parser dependency that should be reviewed. The abstraction is thin enough that forking is cheap; the extension points mean we can iterate on components without upstream changes.
Bottom line for the product team: Worth a scoped proof-of-concept if we are committed to Foundation for Emails and PHP-side rendering. Not worth it if we are undecided on the email design system, need an actively supported vendor, or want a large component ecosystem — in those cases MJML or a maintained alternative is the better strategic call.
How can I help you explore Laravel packages today?