PHPackages                             flyingmana/largexmlsitemap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. flyingmana/largexmlsitemap

ActiveLibrary

flyingmana/largexmlsitemap
==========================

PHP classes for generation of huge XML sitemaps

v1.0.0(5y ago)05GNU GPLv3PHP

Since Nov 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Flyingmana/LargeXMLSitemap)[ Packagist](https://packagist.org/packages/flyingmana/largexmlsitemap)[ Docs](https://github.com/Flyingmana/LargeXMLSitemap)[ RSS](/packages/flyingmana-largexmlsitemap/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Name
====

[](#name)

LargeXMLSitemap PHP classes for generation of huge XML sitemaps

About
=====

[](#about)

LargeXMLSitemap allows PHP developers to generate search engine XML sitemaps with millions of URLs, and automatically handles correct sizing, splitting and compression of the generated XML file structure. Unlike other tools, LargeXMLSitemap does not crawl your site to generate a XML structure of your browseable URLs - it's a collection of PHP classes which can be used from within your sites code to generate these structures. If, for example, you have an online shopping site, it's very easy to create correctly structured, sized and compressed XML sitemaps with the URLs to all your product pages. Customized versions of these classes are in production use on the MyHammer platform and are reliably generating sitemaps with millions of URLs each day.

Aim of this project
===================

[](#aim-of-this-project)

We are releasing those classes as Open Source Software because we believe they might be useful for other sites which need to generate huge XML sitemap structures, and because there is still room for a lot of optimizations and more features. There is a Google Group for all discussions related to our Open Source projects - we would love to hear your opinion, ideas and questions:

Usage
=====

[](#usage)

Please see the examples.

General
-------

[](#general)

cXmlSitemapConfig is optional and not used inside the other classes. Provide filename without ending. .xml or xml.gz are appended depending on compress flag. The sitemap filenames get a counter starting with 0.

Create new Sitemap files
------------------------

[](#create-new-sitemap-files)

Create a new Generator Object $oSitemapCreator = new cXmlSitemapGeneratorWrite(FILENAME, SAVE COMPRESSED, PATH);

Delete the current files $oSitemapCreator-&gt;deleteCurrent();

Open the first file $oSitemapCreator-&gt;open();

Add some URLs to the Sitemap $oSitemapCreator-&gt;addUrl(URL, Last modification time, change frequency, priority) $oSitemapCreator-&gt;addUrl(URL, Last modification time, change frequency, priority) $oSitemapCreator-&gt;addUrl(URL, Last modification time, change frequency, priority)

Close the generator and save the last sitemap file $oSitemapCreator-&gt;save();

Update the sitemap index $oSitemapCreator-&gt;updateSitemapIndex(Path to Sitemap Indexfile);

Authors
=======

[](#authors)

Jan Christiansen

Contact
=======

[](#contact)

Send suggestions, Feedback, problems or whatever to

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1991d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/237319?v=4)[Daniel Fahlke](/maintainers/Flyingmana)[@Flyingmana](https://github.com/Flyingmana)

---

Top Contributors

[![Flyingmana](https://avatars.githubusercontent.com/u/237319?v=4)](https://github.com/Flyingmana "Flyingmana (4 commits)")

---

Tags

generatorSitemap

### Embed Badge

![Health badge](/badges/flyingmana-largexmlsitemap/health.svg)

```
[![Health](https://phpackages.com/badges/flyingmana-largexmlsitemap/health.svg)](https://phpackages.com/packages/flyingmana-largexmlsitemap)
```

###  Alternatives

[tackk/cartographer

A PHP sitemap generation tool.

332486.7k3](/packages/tackk-cartographer)[rumenx/php-sitemap

Framework-agnostic Sitemap generator for PHP, Laravel, and Symfony.

1.3k15.1k1](/packages/rumenx-php-sitemap)[icamys/php-sitemap-generator

Simple PHP sitemap generator.

175342.8k6](/packages/icamys-php-sitemap-generator)[ultrono/laravel-sitemap

Sitemap generator for Laravel 11, 12 and 13

36412.6k6](/packages/ultrono-laravel-sitemap)[kphoen/sitemap-generator

Provides a way to create/generate a sitemap using Propel, Doctrine, etc.

1687.8k4](/packages/kphoen-sitemap-generator)[arcanedev/laravel-sitemap

A sitemap generator for Laravel.

139.1k](/packages/arcanedev-laravel-sitemap)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
