Download the PHP package k-universe/tracenator without Composer
On this page you can find all versions of the php package k-universe/tracenator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tracenator
Tracenator
Tracenator is a PHP library designed to generate sitemaps in XML format.
Features
- Generate XML sitemaps for your website.
- Support for multiple types of sitemaps including URL, index, and more.
- Avoids duplicate URL entries.
- Supports additional elements like images, videos, articles and different languages in sitemaps.
- Automatically sets site url
Installation
You can install Tracenator via Composer. Run the following command in your project directory:
Usage
Here is an example of how to generate a URL sitemap:
GenerateSitemap
This class is used to generate sitemaps. It has the following methods:
addUrl(array $urlData): Adds a URL to the sitemap. The URL data is an associative array. Needs to be in format aboveexport(string $dir = null, string $name = null): Exports the sitemap to an XML file in the base directory of the project. You can specify output directory and file name.
All versions of tracenator with dependencies
PHP Build Version
Package Version
Requires
saboohy/basepath Version
^1.0
The package k-universe/tracenator contains the following files
Loading the files please wait ...