webwizo/laravel-shortcodes
Add WordPress-style shortcodes to any Laravel app. Register custom shortcode classes, then use them in Blade views, content, or emails. Supports attributes, self-closing and enclosing tags, with a clean API for parsing and rendering dynamic content.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| typo3/html-sanitizer | 0.86 | A standalone PHP HTML sanitization component from TYPO3, usable in any PHP project. Declarative Behavior settings define allowed tags, attributes, and values; visitors modify or remove nodes; builders combine presets into ready-to-use Sanitizer instances for safe HTML output. | 29 | 29 | 13 | 382K | 6 | 24.6 | 63.1 | MIT | 4 months ago | |
| webpatser/laravel-sanitize | 0.85 | — | 7 | 8 | 1 | 165 | 0 | 0.0 | 13.0 | — | — | |
| htmlawed/htmlawed | 0.85 | htmlawed/htmlawed is a PHP HTML sanitizer and validator that filters untrusted markup, balances tags, and restricts elements and attributes to help prevent XSS. It can clean user-submitted content, enforce custom HTML policies, and produce safer, well-formed output for web applications. | 42 | 49 | 16 | 54K | 9 | 3.2 | 45.0 | GPL-2.0 | — | |
| elegantweb/sanitizer | 0.85 | Laravel package that cleans and normalizes user input before validation. Define sanitizer classes with rule sets to trim strings, cast types, strip tags, and transform request data, keeping controllers lean and application data consistent. Extensible with custom filters. | 115 | — | 15 | — | 0 | 10.1 | — | MIT | 7 months ago | |
| xemlock/htmlpurifier-html5 | 0.85 | HTML5 definitions and tidy/sanitization rules for HTML Purifier, aligned with the WHATWG spec. Purify and normalize dirty HTML5 into valid output with an HTML5-ready config, plus flexible directives (e.g., safely allow YouTube iframes). | 106 | 106 | 15 | 92K | 1 | 11.5 | 42.8 | MIT | 8 months ago | |
| vanilla/htmlawed | 0.85 | Laravel integration for HTMLawed, a PHP HTML sanitizer and validator. It cleans user-submitted markup, balances tags, filters unsafe attributes and elements, and helps preserve safe formatting in rich text. Useful for sanitizing comments, CMS content, and other untrusted HTML. | 40 | 42 | 15 | 8K | 3 | 1.8 | 32.5 | NOASSERTION | 3 years ago | |
| pixel418/markdownify | 0.84 | Markdownify is a fast, extensible PHP library that converts HTML into clean Markdown. It handles common HTML elements, supports custom converters, and integrates easily into Laravel or any PHP project for generating readable Markdown from web content. | 196 | 198 | 43 | 31K | 4 | 11.4 | 33.6 | MIT | 7 months ago | |
| adrianbaez/short-code-bundle | 0.84 | Laravel bundle that adds shortcode parsing to your app, letting you register custom shortcodes and render dynamic content inside text/HTML. Useful for CMS-style pages, editors, emails, and user-generated content needing embedded components. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | — | 8 years ago | |
| larahook/purifier | 0.84 | Laravel wrapper for HTMLPurifier that cleans and sanitizes untrusted HTML before it reaches your views. Filter user-generated content through a simple, configurable API to strip XSS and other malicious markup while preserving safe formatting. | 2 | 2 | 0 | 735 | 0 | 8.1 | 35.3 | MIT | 7 months ago | |
| masterro/laravel-xss-filter | 0.84 | A Laravel package for filtering XSS from user input. It offers configurable sanitization and middleware to clean request data, helping protect your application from cross-site scripting attacks with minimal setup. | 41 | 41 | 6 | 7K | 0 | 19.8 | 35.6 | MIT | 2 weeks ago | |
| tehwave/laravel-shortcodes | 0.83 | tehwave/laravel-shortcodes brings WordPress-style shortcodes to Laravel Blade templates. Register custom shortcodes with attributes and enclosed content, then use them in any view to keep markup clean and reusable. A simple, lightweight way to add CMS-like content to your Blade views. | 12 | — | 2 | — | 0 | 13.7 | — | MIT | 4 months ago | |
| cebe/markdown | 0.83 | Fast, extensible PHP Markdown parser with classes for multiple flavors (Traditional, GitHub Flavored, and partial Markdown Extra) plus a CLI to convert .md to HTML. Designed for speed, easy customization, and AST-based hooks for extensions. | 1,011 | 1,035 | 137 | 763K | 39 | 25.4 | 53.9 | MIT | 8 years ago | |
| murdercode/laravel-shortcode-plus | 0.83 | A Laravel package for parsing shortcodes inside content, with support for attributes and custom handlers. Register your own shortcodes, then render them in Blade views or user-generated text to keep templates clean and content flexible without hardcoding markup. | 5 | — | 2 | — | 0 | 0.3 | — | MIT | 1 year ago | |
| ivanbaric/sanigen | 0.83 | Sanigen is a Laravel package for defining and generating reusable sanitizers that clean and normalize incoming request data before validation or persistence. It helps keep form and API input consistent, predictable, and safe with a simple, rule-based workflow. | 0 | — | 0 | — | 0 | 15.4 | — | MIT | 2 months ago | |
| enshrined/svg-sanitize | 0.83 | PHP SVG sanitizer based on DOMPurify that cleans untrusted SVG/XML, strips dangerous tags and remote references, supports custom whitelists, minification, and reports sanitization issues. | 557 | 557 | 69 | 3M | 18 | 30.6 | 68.1 | GPL-2.0 | 2 weeks ago | |
| fossar/htmlawed | 0.83 | Fork of kesar/HTMLawed maintained by selfoss and wallabag. A single-file (~45KB) PHP HTML filter/sanitizer that secures and tidies user input, making it standards-compliant for HTML/XHTML/XML, with extensive customization options. | 2 | 2 | 2 | 6K | 0 | 22.1 | 53.9 | GPL-2.0 | 3 months ago | |
| wa72/htmlpagedom | 0.83 | wa72/htmlpagedom is a PHP library that extends DOMDocument for easy HTML manipulation with jQuery-style methods and CSS selectors. Load HTML strings or files, then query and modify elements using familiar find, filter, addClass, attr, and append APIs, powered by Symfony CssSelector. | 337 | 347 | 46 | 60K | 7 | 10.0 | 35.0 | MIT | 9 months ago | |
| rhukster/dom-sanitizer | 0.83 | A fast, MIT-licensed DOM, SVG, and MathML sanitizer for PHP 7.3+. It uses PHP DOMDocument to strip dangerous tags and attributes, borrowing DOMPurify’s extensive allowlists. Configurable options and tag/attribute controls included. | 14 | 11 | 3 | 169K | 0 | 24.5 | 64.8 | MIT | 1 week ago | |
| thunderer/shortcode | 0.82 | Framework-agnostic PHP library for parsing and processing shortcodes/BBCodes. Extract shortcodes from text, handle replacements, and apply them via processors and events. Includes serializers for Text/XML/JSON/YAML. Supports PHP 5.3–8.x. | 389 | 395 | 32 | 54K | 4 | 27.7 | 36.3 | MIT | 4 months ago | |
| locaine/lcn-wysihtml5-bundle | 0.81 | LCN WysiHTML5 Bundle integrates the wysihtml5 rich-text editor into Laravel/PHP applications, providing a lightweight WYSIWYG field for content forms. It packages editor assets and helpers to simplify setup, configuration, and use in views. | 2 | 3 | 0 | 0 | 1 | 0.1 | — | — | — |
How can I help you explore Laravel packages today?