Installation instructions

Use Composer

Run the following command to install Netgen Content Browser:

$ composer require netgen/content-browser

Activate the bundle

Activate the Content Browser in your kernel class together will all other required bundles:

$bundles = [

    new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
    new Netgen\Bundle\ContentBrowserBundle\NetgenContentBrowserBundle(),
    new Netgen\Bundle\ContentBrowserUIBundle\NetgenContentBrowserUIBundle(),

    new AppBundle\AppBundle(),

Activate the routes

Add the following to your main routing file to activate Content Browser routes:

    resource: "@NetgenContentBrowserBundle/Resources/config/routing.yaml"
    prefix: "%netgen_content_browser.route_prefix%"

Install assets

Run the following from your repo root to install Content Browser assets:

$ php bin/console assets:install --symlink --relative