定制 clivewalkden/jigsaw-sitemap 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clivewalkden/jigsaw-sitemap

Composer 安装命令:

composer require clivewalkden/jigsaw-sitemap

包简介

Sitemap and sitemap index builder for Jigsaw.

README 文档

README

Latest version Quality Score PSR2 Conformance

Sitemap and sitemap index builder for Jigsaw.

Usage

Add as an event listener in bootstrap.php.

use CliveWalkden\JigsawSitemap\SitemapListener;

/**
 * An afterBuild event is fired after the build is complete, and all output files
 * have been written to the build directory. This allows you to obtain a list of
 * the output file paths (to use, for example, when creating a sitemap.xml file),
 * programmatically create output files, or take care of any other post-processing tasks.
 *
 * @link http://jigsaw.tighten.co/docs/event-listeners/
 */
$events->afterBuild([
    SitemapListener::class,
]);

Note: You can exclude files from the sitemap by adding the following to your config.php:

'sitemap' => [
    'url_trailing_slash' => true,
    'exclude' => [
        '.htaccess',
        'favicon.ico',
        // ...
    ],
    'image_sitemap' => [
        'generate' => true,
        'filename' => 'sitemap_images.xml',
        'extensions' => [
            'gif',
            'jpg',
            'jpeg',
            'png',
            // ...
        ]
    ]
],

Laravel 6 Updates (Jigsaw 1.3.16+)

Updates to make the plugin work with Laravel 6 components used in Jigsaw 1.3.16+ were made by Clive Walkden. All previous work was done by Ryan Scherler.

Changelog

To see the changelog open CHANGELOG.md

统计信息

  • 总下载量: 820
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固