Ross ROSS = Recommend OSS · open-source software intelligence for agents

tijsverkoyen/CssToInlineStyles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very usefull when you're sending emails. observed · 2026-08-28

github.com/tijsverkoyen/CssToInlineStyles · PHP · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

57/100

  • Activity 61
  • Release rhythm 28
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 355
  • age_days: 5791
  • days_rel: 265
  • days_push: 239
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

5826 stars · 190 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A PHP library that converts HTML pages or files by inlining their CSS styles directly into the HTML elements. This is primarily useful for sending HTML emails, where many clients don't support embedded stylesheets.

Use cases

  • inline css styles into html for email
  • convert html with stylesheet to inline styles
  • prepare html emails that render in outlook and gmail
  • php library to inline css before sending email
  • make html email templates email-client compatible

When to choose

  • you send HTML emails from a PHP application and need styles inlined
  • you use Laravel or another framework needing CSS inlining for mail
  • you want a small, well-established Composer package for this single task

When to avoid

  • you need support for CSS pseudo-selectors or css-escapes
  • your project is not in PHP
  • you need full CSS parsing beyond style inlining

Facets

library · maturity stable

templating email parser web-development email frontend php css-inlining html-email composer

1 source

Member repositories

RepositoryRoleHealth v2
tijsverkoyen/CssToInlineStylesmain57

For agents

markdown · JSON · MCP: product_card(name="tijsverkoyen/CssToInlineStyles")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem