{"repo":"webwizo/laravel-shortcodes","free":true,"listed":false,"github":"https://github.com/webwizo/laravel-shortcodes","clone":"git clone https://github.com/webwizo/laravel-shortcodes.git","description":"Wordpress like shortcodes for Laravel 4.2, 5.x, 6.x, 7.x, 8.x, 9.x, 10.x, 11.x, 12.x, and 13.x","language":"PHP","stars":217,"topics":["shortcode","laravel","wordpress"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Laravel-Shortcodes [![Latest Version on Packagist][ico-version]][link-packagist] [![Software License][ico-license]](LICENSE.md) [![Coverage Status][ico-scrutinizer]][link-scrutinizer] [![Quality Score][ico-code-quality]][link-code-quality] [![Total Downloads][ico-downloads]][link-downloads] WordPress-like shortcodes for Laravel 11, 12, and 13 (PHP 8.2+). Documentation last updated: 2026-04-22 If you are looking for Laravel 4.2, see: https://github.com/patrickbrouwers/Laravel-Shortcodes Install Via Composer: Laravel 11+ discovers the package automatically. On older setups, register Webwizo\\Shortcodes\\ShortcodesServiceProvider in config/app.php (or bootstrap/providers.php where applicable). Service provider (manual registration) You can use the facade for shorter code. Add this to your aliases (optional): The class is bound to the ioC as shortcode Usage withShortcodes() To enable the view compiling features: This will enable shortcode rendering for that view only. withShortcodes() in Mailables You can also enable shortcode compilation for a mailable view: Available since: v1.0.31 emails/newsletter.blade.php The shortcode tags in that mailable view will be compiled during rendering. Enable through class Disable through class Disabling some views from shortcode compiling With the config set to true, you can disable the compiling per view. Default compiling To use default compiling: Strip shortcodes from rendered view. Strip shortcode through class Shortcode syntax and parser The ","default_branch":null,"files":null,"tree":[],"storefront":"/r/webwizo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webwizo/laravel-shortcodes/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}