Download the PHP package core23/sitemap-bundle without Composer
On this page you can find all versions of the php package core23/sitemap-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download core23/sitemap-bundle
More information about core23/sitemap-bundle
Files in core23/sitemap-bundle
Package sitemap-bundle
Short Description This bundle provides some classes for an automatic sitemap.xml generation.
License MIT
Homepage https://nucleos.rocks
Informations about the package sitemap-bundle
NucleosSitemapBundle
This bundle provides some classes for an automatic sitemap.xml generation.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php
file of your project:
Configure the Bundle
Create a configuration file called nucleos_sitemap.yaml
:
If you want to use symfony cache, you should define a new cache pool (PSR 6) and create an adapter to map it to a simple cache (PSR 16):
Add static entries
You can add static entries in your yaml config:
Add a custom sitemap
If you want to create a custom sitemap, the only thing you have to do is to create a service that uses
Nucleos\SitemapBundle\Sitemap\SitemapServiceInterface
and tag the service with nucleos.sitemap
.
License
This bundle is under the MIT license.
All versions of sitemap-bundle with dependencies
psr/cache Version ^1.0 || ^2.0 || ^3.0
psr/simple-cache Version ^1.0 || ^2.0 || ^3.0
symfony/config Version ^5.4 || ^6.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/expression-language Version ^5.4 || ^6.0
symfony/framework-bundle Version ^5.4 || ^6.0
symfony/http-foundation Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/options-resolver Version ^5.4 || ^6.0
symfony/routing Version ^5.4 || ^6.0