PHPackages                             19js/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. 19js/sitemap

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

19js/sitemap
============

获取站点地图,生成百度站点地图。生成百度移动sitemap

v1.0.0(5y ago)013MITPHP

Since Feb 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/19js/sitemap)[ Packagist](https://packagist.org/packages/19js/sitemap)[ RSS](/packages/19js-sitemap/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

获取站点地图
======

[](#获取站点地图)

> 生成百度站点地图

示例
--

[](#示例)

```
  php index.php
```

```
namespace Tom\Sitemap;
require_once "./vendor/autoload.php";
   /**
     * @param $url 网站首页地址
     * @param $dir sitemap.xml存储文件夹
     * @param int $type 0:响应式 1：wap 2: 自适应 3：pc
     */
Sitemap::handle('https://www.19js.club','./');
```

LICENCE
-------

[](#licence)

MIT

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

1922d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e6dfe32ff4ef000b90ca3e769a49e31533f72bb348c45aee3ec53cd081a404f2?d=identicon)[yangshuanlin](/maintainers/yangshuanlin)

---

Top Contributors

[![19js](https://avatars.githubusercontent.com/u/32995060?v=4)](https://github.com/19js "19js (2 commits)")

### Embed Badge

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

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

###  Alternatives

[chh/pipe

Put your assets into the Pipe and smoke them.

1212.5k1](/packages/chh-pipe)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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