PHPackages                             b1tc0re/sitemap - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. b1tc0re/sitemap

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

b1tc0re/sitemap
===============

DeftCMS Sitemap generator package

v1.0.0(5y ago)017MITPHPPHP ^7.2

Since Feb 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/b1tc0re/sitemap)[ Packagist](https://packagist.org/packages/b1tc0re/sitemap)[ RSS](/packages/b1tc0re-sitemap/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

DeftCMS Sitemap generator package
=================================

[](#deftcms-sitemap-generator-package)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![PHP tests](https://github.com/b1tc0re/sitemap/workflows/PHP%20Tests/badge.svg?branch=master)](https://github.com/b1tc0re/sitemap/actions?query=workflow%3A%22PHP+Tests%22)[![Maintainability](https://camo.githubusercontent.com/1e3a27d4dad671f91e630b0cb6dbee324b88aea5ecd505f3c052a696566c0504/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f33343862663838386264393734613832363130372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/b1tc0re/sitemap/maintainability)[![Style Status](https://camo.githubusercontent.com/08ba7ed26ac2a10b50aef70cf4a43b323148d389f546b859b726282bd4de0671/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3333363633363034302f736869656c643f7374796c653d6e6f726d616c266272616e63683d6d6173746572)](https://github.styleci.io/repos/336636040)[![Latest Stable Version](https://camo.githubusercontent.com/5a593525833a1e484eddbdf2d7a81a6414e38a77da998fc620e75ebcf9fe99fe/68747470733a2f2f706f7365722e707567782e6f72672f623174633072652f736974656d61702f762f737461626c65)](https://packagist.org/packages/b1tc0re/sitemap)[![Total Downloads](https://camo.githubusercontent.com/c7453e98566e243262c5a61e4dd433a96c8f35b393715cdf06382a1e9969e7e2/68747470733a2f2f706f7365722e707567782e6f72672f623174633072652f736974656d61702f646f776e6c6f616473)](https://packagist.org/packages/b1tc0re/sitemap)

Этот пакет может генерировать карту сайта.

Для установки используйте команду:

```
composer require b1tc0re/sitemap
```

### Создание простой карты сайта:

[](#создание-простой-карты-сайта)

```
$sitemap = new Sitemap('sitemap.xml');
```

Если количество ссылок будет превышать `$sitemap->maxUrls` будет создана [SiteMapIndex](https://www.sitemaps.org/ru/protocol.html#index) с указанном названием в конструкторе класса (`sitemap.xml`). Ссылки будут разбиты по `$sitemap->maxUrls`и созданы карты сайта с наванием 0\_sitemap.xml эти карты будут добавлены в `sitemap.xml`

```
$sitemap = new DeftCMS\Components\b1tc0re\Sitemap\Sitemap('sitemap.xml');
$sitemap->addItem('http://example.com/1', time());
$sitemap->addItem('http://example.com/2');
$sitemap->write();
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~4 days

Total

2

Last Release

1968d ago

Major Versions

v0.0.9 → v1.0.02021-02-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/28b2250cbe9bb74ac403d43f790e1cebcca7e51864dec703f381c90dffe6cc8e?d=identicon)[b1tc0re](/maintainers/b1tc0re)

---

Top Contributors

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

---

Tags

Sitemapb1tc0re

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/b1tc0re-sitemap/health.svg)

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

###  Alternatives

[samdark/sitemap

Sitemap and sitemap index builder

5401.4M44](/packages/samdark-sitemap)[tackk/cartographer

A PHP sitemap generation tool.

325493.4k3](/packages/tackk-cartographer)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M61](/packages/nystudio107-craft-seomatic)[novactive/ezseobundle

Novactive eZ SEO Bundle is an Ibexa Platform bundle for SEO simplications. metas, sitemaps, robots.txt, etc.

29259.4k3](/packages/novactive-ezseobundle)[rainlab/sitemap-plugin

Sitemap plugin for October CMS

2282.4k1](/packages/rainlab-sitemap-plugin)[fof/sitemap

Generate a sitemap

1899.7k2](/packages/fof-sitemap)

PHPackages © 2026

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