PHPackages                             leanhhoaivui/shortcode-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. leanhhoaivui/shortcode-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

leanhhoaivui/shortcode-bundle
=============================

Bundle that provides a Twig filter to support WordPress-like shortcodes.

024PHP

Since Aug 8Pushed 7y agoCompare

[ Source](https://github.com/leanhhoaivui/JTShortcodeBundle)[ Packagist](https://packagist.org/packages/leanhhoaivui/shortcode-bundle)[ RSS](/packages/leanhhoaivui-shortcode-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Bundle that provides a Twig filter to support WordPress-like shortcodes.

Important: It's an early prototype!

Currently supported are tags of this form:

- `[demo]` (simple tags)
- `[demo var=xxx var2=yyy]` (tags with unquoted attributes)

Not yet supported are:

- `[demo]...[/demo]` (tags with embedded content)
- `[demo var="xxx"]` (tags with quoted attributes)

\###Installation

Add JTShortcodeBundle in your composer.json:

```
{
    "require": {
        "leanhhoaivui/shortcode-bundle": "dev-master"
    }
}

```

Register the bundle in AppKernel

```
