fayyaztech/sitemap-generator

The PHP Sitemap Generator is a versatile and easy-to-use tool that empowers developers to effortlessly create sitemaps for their websites. With support for various sitemap formats, including XML, ROR, HTML, and URLLIST, this library simplifies the process of generating essential files to enhance sea

1.0.6 2024-02-29 06:15 UTC

This package is not auto-updated.

Last update: 2024-09-26 09:04:47 UTC


README

Certainly! Here's an updated README for your fayyaztech/sitemap-generator package:

PHP Sitemap Generator

Description:

The PHP Sitemap Generator is a versatile and easy-to-use tool that empowers developers to effortlessly create sitemaps for their websites. With support for various sitemap formats, including XML, ROR, HTML, and URLLIST, this library simplifies the process of generating essential files to enhance search engine optimization (SEO) and ensure efficient indexing of web content.

Key Features:

  • XML Sitemaps: Generate standard XML sitemaps to facilitate search engine discovery of your website's URLs.

  • ROR Sitemaps: Create ROR (Resources of a Resource) XML files, providing additional metadata about your content.

  • HTML Sitemaps: Generate HTML sitemaps for human-readable navigation, enhancing user experience and site accessibility.

  • URL List: Produce URLLIST files, a plain-text list of URLs, suitable for various applications and indexing purposes.

Usage:

Installation:

composer require fayyaztech/sitemap-generator

Example Usage:

use Fayyaztech\SitemapGenerator\SitemapGenerator;

// Instantiate the generator
$sitemapGenerator = new SitemapGenerator();

// Generate XML sitemap
$sitemapGenerator->generateXmlSitemap('/path/to/output');

// Generate ROR sitemap
$sitemapGenerator->generateRorSitemap('/path/to/output');

// Generate HTML sitemap
$sitemapGenerator->generateHtmlSitemap('/path/to/output');

// Generate URLLIST
$sitemapGenerator->generateUrlList('/path/to/output');

License:

This project is released under the MIT License, offering flexibility and ease of use for developers while requiring proper attribution.

Contributing:

Contributions and feedback are welcome! Fork the repository, make improvements, and submit pull requests.

Links:

Begin enhancing your website's discoverability and SEO with the PHP Sitemap Generator today!

Author:

Feel free to customize this README further, if needed.