yiisoft/html
yiisoft/html is a lightweight PHP HTML builder for generating safe, well-formed markup. Create tags, attributes, forms, and input elements with fluent helpers, automatic escaping, and convenient utilities—ideal for Yii and any PHP project needing clean HTML generation.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-html | 0.87 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 827 | 837 | 102 | 354K | 0 | 36.5 | 42.8 | MIT | 1 month ago | |
| spatie/laravel-blade-x | 0.85 | Blade-X brings Blade-style HTML components to Laravel 6 and below, letting you use tags like instead of @include. Package is abandoned because Laravel 7+ has native Blade components; migrate when upgrading. | 520 | 530 | 36 | 339 | 0 | 16.0 | 3.5 | MIT | 6 years ago | |
| spatie/html-element | 0.83 | Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. | 191 | 194 | 24 | 1K | 0 | 23.5 | 14.4 | MIT | 4 years ago | |
| twig/html-extra | 0.82 | Twig HTML Extension adds handy helpers to Twig: a data_uri filter for RFC 2397 data URLs, an html_classes function to conditionally build CSS class strings, and an html_cva function for managing class variants via a Cva object. | 77 | 77 | 7 | 561K | 0 | 21.2 | 62.7 | MIT | 3 weeks ago | |
| soundasleep/html2text | 0.82 | Convert HTML to clean, readable plain text in PHP. soundasleep/html2text handles tags, links, images, and whitespace to produce email-friendly, human-readable output, with sensible defaults and options for tweaking formatting. | 484 | — | 138 | — | 9 | 30.0 | 7.2 | MIT | 3 years ago | |
| spatie/laravel-blade | 0.82 | Add Blade to any PHP project with the standalone Blade engine from Spatie. Compile and render Blade templates outside Laravel, with an easy API, caching support, and configurable view paths—ideal for small apps, packages, or custom tooling. | 55 | 54 | 10 | 4 | 0 | 10.9 | 0.5 | MIT | 8 years ago | |
| league/html-to-markdown | 0.81 | — | 1,881 | 1,898 | 215 | 1M | 15 | 50.1 | 54.7 | MIT | 2 years ago | |
| spatie/laravel-export | 0.81 | Export a Laravel app as a static site bundle. Crawls your routes to generate HTML for every URL and copies your public assets into an export folder, ready to upload to Netlify or any static host—keep Laravel tools locally while deploying static. | 659 | 659 | 62 | 5K | 0 | 32.2 | 14.8 | MIT | 1 month ago | |
| spatie/laravel-view-components | 0.80 | Abandoned package. Provides a “view components” pattern for Laravel: classes implementing Htmlable that encapsulate view-related logic and render HTML (often via Blade). Use @render to pass data, and wrap third‑party HTML builders like menus. | 237 | 238 | 22 | 77 | 0 | 12.4 | 2.0 | MIT | 6 years ago | |
| laravel/laravel | 0.80 | Laravel is a modern PHP web application framework with elegant syntax. It provides fast routing, dependency injection, Eloquent ORM, migrations, caching and sessions, queues, and real-time broadcasting—plus extensive documentation and tutorials. | 84,081 | 84,782 | 24,690 | 695K | 0 | 69.7 | 15.7 | — | 1 week ago | |
| twig/markdown-extra | 0.80 | Twig extension adding Markdown conversion filters: markdown_to_html to render Markdown as HTML, and html_to_markdown to convert HTML back to Markdown. Useful for templating content workflows where Markdown and HTML need to interoperate. | 121 | 122 | 7 | 542K | 0 | 21.5 | 59.3 | MIT | 3 weeks ago | |
| stevebauman/purify | 0.79 | Laravel wrapper for HTMLPurifier to sanitize user HTML safely. Clean strings or arrays via the Purify facade, with optional per-call configuration. Publish a config file, tune allowed tags/attributes, and leverage caching for performance. | 533 | 529 | 38 | 242K | 0 | 33.1 | 43.2 | MIT | 3 weeks ago | |
| twig/twig | 0.77 | Twig is a fast, secure templating engine for PHP. It offers a clean syntax, automatic escaping, template inheritance, macros, and filters, with a flexible loader system and strong extensibility—ideal for building maintainable views in web apps. | 8,353 | 8,696 | 1,288 | 6M | 55 | 77.4 | 74.3 | BSD-3-Clause | 3 weeks ago | |
| typo3/html-sanitizer | 0.73 | Standards-based HTML sanitizer for PHP with safe, configurable cleaning of untrusted markup. Remove dangerous tags/attributes, normalize output, and allow whitelisting policies for links, images, and formatting—ideal for user content, CMS, and APIs. | 27 | 27 | 15 | 247K | 6 | 31.4 | 66.8 | MIT | 1 year ago | |
| ezyang/htmlpurifier | 0.72 | HTML Purifier is a robust HTML filtering library that prevents XSS using strict whitelists and aggressive parsing, producing standards-compliant output. Ideal for richly formatted, untrusted HTML with configurable tag and CSS support. | 3,386 | 3,491 | 354 | 7M | 106 | 68.8 | 86.5 | LGPL-2.1 | 5 months ago |
How can I help you explore Laravel packages today?