PHPackages                             mapper-by-mimilasyxa/mapper-site - 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. mapper-by-mimilasyxa/mapper-site

ActiveLibrary

mapper-by-mimilasyxa/mapper-site
================================

a quck lib to create file filled with mapping of a site

03PHP

Since Aug 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mimilasyxa/create-site-map)[ Packagist](https://packagist.org/packages/mapper-by-mimilasyxa/mapper-site)[ RSS](/packages/mapper-by-mimilasyxa-mapper-site/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 Подключение
=============

[](#-подключение-)

require "vendor/autoload.php";  Использование
===============

[](#-использование-)

SiteMap::createFile($array, $type, $path);
-------------------------------------------

[](#sitemapcreatefilearray-type-path-)

$array - массив данных о сайте (сайтах) вида
 ```
$array = [
    [
        'loc'=> 'https://github.com',
        'lastmod' => '2022-12-20',
        'priority' => '1',
        'changefreq' => 'never'
    ]
];
```

$type - строка - тип создаваемоего файла, в зависимости от типа меняется формат данных внутри файла. Поддерживаемые типы - JSON, XML, CSV
$path - строка - полный путь по которому нужно будет сохранить создаваемый файл вида "директория/имя.тип"

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a8ad11d841e0446772659de1ee90461aa7da11ca9593964ce07fdd4aa9afec0?d=identicon)[mimilasyxa](/maintainers/mimilasyxa)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mapper-by-mimilasyxa-mapper-site/health.svg)

```
[![Health](https://phpackages.com/badges/mapper-by-mimilasyxa-mapper-site/health.svg)](https://phpackages.com/packages/mapper-by-mimilasyxa-mapper-site)
```

PHPackages © 2026

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