【文件属性】:
文件名称:next-php-sitemap-generator:PHP 中的另一个站点地图生成器
文件大小:22KB
文件格式:ZIP
更新时间:2021-07-01 10:01:54
PHP
next-php-sitemap-generator
PHP 中的另一个站点地图生成器。
为什么?
需要更多可定制的站点地图生成器:
切换格式输出,
仅根据配置输入创建索引文件,
某些值的辅助常量,
其他 :)
添加到现有项目
composer require havramar/next-php-sitemap-generator:dev-master
怎么跑
获取
curl -sS https://getcomposer.org/installer | php
安装依赖
php composer.phar install
创建示例脚本example.php
<?php
require_once 'vendor/autoload.php' ;
$ sitemapCreator = new \ SitemapGenerator \ SitemapCreator ();
【文件预览】:
next-php-sitemap-generator-master
----.gitignore(8B)
----src()
--------SitemapGenerator()
----.travis.yml(158B)
----LICENSE(1KB)
----composer.json(336B)
----composer.lock(16KB)
----README.md(2KB)
----tests()
--------bootstrap.php(181B)
--------Writer()
--------Helper.php(503B)
--------phpunit.xml(304B)
--------SitemapCreatorTest.php(9KB)