The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech LeadsJuly 17-18

Join

Top PHP HTML Libraries 2025

GitHub Libraries PHP HTML Libraries

dompdf/dompdf 10K +13

added 4 months ago

HTML Renderer and HTML to PDF converter

tijsverkoyen/csstoinlinestyles 5K +3

added 4 months ago

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.

spatie/browsershot 5K +6

added 4 months ago

Convert a webpage to an image or pdf using headless Chrome

knplabs/snappy 4K

added 4 months ago

Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page.

ezyang/htmlpurifier 3K +10

added 4 months ago

HTML Purifier is a PHP library that filters HTML, removes XSS, and ensures W3C compliance.

imangazaliev/didom 2K +1

added 4 months ago

Simple and fast HTML and XML parser

thephpleague/html-to-markdown 1K +5

added 2 months ago

Convert HTML to Markdown with PHP

masterminds/html5-php 1K +9

added 4 months ago

An HTML5 parser and serializer for PHP.

spatie/laravel-html 806 +2

added 4 months ago

Painless html generation

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.