Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 628 Bytes

1-Installation.md

File metadata and controls

30 lines (24 loc) · 628 Bytes

Installation

  1. Add to your composer.json

        "require": { 
            //...
            "presta/sitemap-bundle": "dev-master"
        }
  2. Enable the bundle in your app/AppKernel.php

        public function registerBundles()
        {
            $bundles = array(
                //...
                new Presta\SitemapBundle\PrestaSitemapBundle(),
            );
        }
  3. [optional] Add the routes to your app/config/routing.yml

    PrestaSitemapBundle:
        resource: "@PrestaSitemapBundle/Resources/config/routing.yml"
        prefix:   /