Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Shortcodes

Laravel Shortcodes Laravel Package

vedmant/laravel-shortcodes

Add WordPress-style shortcodes to your Laravel app. Register custom tags with attributes, parse them in Blade views or any content, and render dynamic output cleanly. Lightweight and easy to extend, ideal for CMS-like content and reusable snippets.

Deep Wiki
Context7

vedmant/laravel-shortcodes is a lightweight Laravel package for parsing WordPress-style shortcodes in your application's content. It lets you register custom shortcodes with attributes and enclosed content, then render them anywhere—Blade views, models, or plain strings—keeping markup clean and separating presentation logic from stored text.

Define each shortcode once with a handler callback, and the package handles parsing, attribute extraction, self-closing tags, and nested enclosed content. It integrates naturally with Laravel's service container, making shortcodes easy to test and reuse across projects.

  • Supports self-closing and enclosing shortcode syntax
  • Parse and extract named attributes with defaults
  • Register handlers via a simple, fluent API
  • Works on Blade output, model accessors, and raw strings
  • Composer-installable with Laravel auto-discovery
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource