tijsverkoyen/css-to-inline-styles
Convert CSS in HTML documents to inline style attributes—ideal for HTML emails. Feed it your HTML and CSS, and it outputs email-friendly markup with styles applied inline. Composer-installable and widely used (including Laravel).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fedeisas/laravel-mail-css-inliner | 0.84 | — | 598 | 608 | 117 | 80K | 3 | 28.2 | 34.6 | MIT | 2 months ago | |
| codeat3/inlinestyle | 0.84 | InlineStyle converts embedded/external CSS into inline style attributes on HTML elements—ideal for HTML emails where clients ignore stylesheets. Load HTML from a file or string, extract/apply stylesheets (with optional base URL), then get the modified HTML. | 0 | 0 | 0 | 1K | 0 | 0.9 | 42.2 | MIT | 2 years ago | |
| stayallive/laravel-mail-css-inliner | 0.83 | — | 5 | 5 | 1 | 2K | 0 | 19.8 | 40.8 | MIT | 1 month ago | |
| pelago/emogrifier | 0.76 | Emogrifier converts CSS from blocks and stylesheets into inline style attributes in HTML. Ideal for HTML email rendering in clients with poor CSS support (e.g., Outlook, Gmail), ensuring consistent styling across email and mobile readers. | 949 | 959 | 160 | 794K | 80 | 45.1 | 69.8 | MIT | 6 months ago | |
| soundasleep/html2text | 0.67 | Convert HTML to readable plain text in PHP. soundasleep/html2text extracts meaningful content from messy markup, handling links, lists, tables and whitespace with configurable formatting—ideal for emails, scraping, logs and text-only previews. | 485 | 490 | 138 | 526K | 9 | 10.6 | 47.5 | MIT | 3 years ago | |
| html2text/html2text | 0.67 | — | 591 | 613 | 176 | 865K | 15 | 17.2 | 49.3 | — | 1 year ago | |
| symfony/css-selector | 0.65 | Symfony CssSelector converts CSS selectors into XPath expressions, making it easy to query DOM/XML documents with familiar CSS syntax. Part of the Symfony Components ecosystem, with full docs and issue tracking in the main Symfony repository. | 7,438 | 7,474 | 43 | 13M | 0 | 57.4 | 53.0 | MIT | 1 week ago | |
| nickcernis/html-to-markdown | 0.64 | Convert HTML into clean, readable Markdown in PHP. Parse tags and structure into Markdown output with configurable rules, custom converters, and strong defaults—handy for scraping, email content, CMS migrations, and turning rich text into Markdown for storage or editing. | 1,889 | 1,886 | 216 | 1K | 14 | 29.9 | 10.4 | MIT | 2 years ago | |
| league/html-to-markdown | 0.64 | — | 1,889 | 1,902 | 216 | 1M | 14 | 29.9 | 45.8 | MIT | 2 years ago | |
| sensiolabs/ansi-to-html | 0.64 | Convert ANSI-colored console output into an HTML5 fragment. Supports themes (e.g., Solarized), inline styles or CSS classes, can export theme CSS, and includes a Twig extension for easy use in templates. | 252 | 257 | 37 | 108K | 9 | 5.2 | 39.6 | MIT | — | |
| bicpi/html-converter-bundle | 0.63 | — | 0 | 0 | 1 | 0 | 0 | 0.3 | — | — | 9 years ago | |
| bicpi/html-converter | 0.63 | PHP library for converting HTML to plain text, ideal for generating text parts of HTML emails. Includes Simple (strip_tags), Lynx (best results, keeps links), Html2Text, and Chain converter to pick the first available backend. | 11 | 12 | 13 | 0 | 0 | 0.5 | — | MIT | — |
How can I help you explore Laravel packages today?