2017 © Pedro Peláez
 

symfony-bundle sitemap-bundle

phlexible sitemap bundle

image

phlexible/sitemap-bundle

phlexible sitemap bundle

  • Monday, July 30, 2018
  • by temp
  • Repository
  • 1 Watchers
  • 1 Stars
  • 65 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

PhlexibleSitemapBundle

The PhlexibleSitemapBundle adds support for a finder field in phlexible., (*1)

Installation

  1. Download PhlexibleSitemapBundle using composer
  2. Enable the Bundle
  3. Import PhlexibleSitemapBundle routing
  4. Clear the symfony cache

Step 1: Download PhlexibleSitemapBundle using composer

Add PhlexibleSitemapBundle by running the command:, (*2)

``` bash $ php composer.phar require phlexible/sitemap-bundle "~1.0.0", (*3)


Composer will install the bundle to your project's `vendor/phlexible` directory. ### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Phlexible\Bundle\SitemapBundle\PhlexibleSitemapBundle(), ); }

Step 3: Import PhlexibleSitemapBundle routing

Import the PhlexibleSitemapBundle routing., (*4)

For frontend:, (*5)

``` yaml, (*6)

app/config/routing.yml

phlexible_sitemap: resource: "@PhlexibleSitemapBundle/Controller/SitemapController.php" type: annotation, (*7)


### Step 4: Clear the symfony cache If you access your phlexible application with environment prod, clear the cache: ``` bash $ php app/console cache:clear --env=prod

The Versions