2017 © Pedro Peláez
 

symfony-bundle sitemap-bundle

A Symfony bundle that provides tools to build your application sitemap.

image

presta/sitemap-bundle

A Symfony bundle that provides tools to build your application sitemap.

  • Monday, June 4, 2018
  • by nicolas-bastien
  • Repository
  • 20 Watchers
  • 184 Stars
  • 878,970 Installations
  • PHP
  • 17 Dependents
  • 2 Suggesters
  • 71 Forks
  • 8 Open issues
  • 24 Versions
  • 8 % Grown

The README.md

PrestaSitemapBundle

Tests Coverage Latest Stable Version Downloads Monthly Contributors, (*1)

This bundle handle your XML sitemap in a Symfony application., (*2)

Overview

Allow sitemapindex file:, (*3)

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd"
              xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <sitemap>
        <loc>https://acme.org/sitemap.static.xml</loc>
        <lastmod>2020-01-01T10:00:00+02:00</lastmod>
    </sitemap>
</sitemapindex>

and urlset files:, (*4)

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" 
        xmlns:xhtml="http://www.w3.org/1999/xhtml">
    <url>
        <loc>https://acme.org/</loc>
        <lastmod>2020-01-01T10:00:00+02:00</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.5</priority>
    </url>
    <url>
        <loc>https://acme.org/contact</loc>
        <lastmod>2020-01-01T10:00:00+02:00</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.5</priority>
    </url>
</urlset>

A sandbox is available in a dedicated GitHub repository., (*5)

You may also have a look to Prestaconcept's website sitemap (which is built with this bundle)., (*6)

Features

  • Configure with a single option which routes you want to include in your sitemap
  • Generate one Sitemapindex and as many Urlset as you need
  • Access sitemap on the fly with a symfony controller or Dump sitemap to files for faster sitemap
  • Comply with Urlset specifications : 50k items / 10MB per file
  • Decorates your sitemap with images, video, mobile and multilang urls
  • No database required

Documentation

You will find the detailed documentation in the following links:, (*7)

Versions

This bundle is compatible with all Symfony versions since 2.3.0., (*8)

However, like Symfony, we do not provide support for Symfony's version that reached EOL., (*9)

Contributing

Please feel free to open an issue or a pull request, if you want to help., (*10)

Thanks to everyone who has contributed already., (*11)


This project is supported by PrestaConcept, (*12)

Released under the MIT License, (*13)

The Versions

27/11 2017

dev-enhance-phpdoc

dev-enhance-phpdoc

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

23/11 2017

dev-symfony-compatibility

dev-symfony-compatibility

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

22/11 2017

2.0.x-dev

2.0.9999999.9999999-dev

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

07/08 2017

1.5.x-dev

1.5.9999999.9999999-dev

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

07/08 2017

v1.5.2

1.5.2.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

03/08 2017

dev-bugfix-travis-testing-matrix

dev-bugfix-travis-testing-matrix

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

05/10 2016

dev-deprecate-sitemap-listener

dev-deprecate-sitemap-listener

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

29/09 2016

dev-copyright-uniformization

dev-copyright-uniformization

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

29/09 2016

dev-fix-travis-ci

dev-fix-travis-ci

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

21/06 2016

dev-move-defaults-to-url-register

dev-move-defaults-to-url-register

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

21/06 2016

dev-issue-121

dev-issue-121

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

20/06 2016

dev-issue-122

dev-issue-122

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

15/06 2016

v1.5.1

1.5.1.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

08/06 2016

v1.5.0

1.5.0.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

28/12 2015

v1.4.2

1.4.2.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

15/10 2015

1.4.1

1.4.1.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

25/02 2015

v1.4.0

1.4.0.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

26/02 2014

v1.3.0

1.3.0.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

19/04 2013

v1.2.0

1.2.0.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

05/04 2013

v1.1.0

1.1.0.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

The Development Requires

xml symfony2 bundle sitemap prestaconcept

28/11 2012

v1.0.0

1.0.0.0

A symfony 2 bundle that provides tools to build your application sitemap.

  Sources   Download

MIT

The Requires

 

xml symfony2 bundle sitemap prestaconcept