定制 trinityrank/sitemap 二次开发

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

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

trinityrank/sitemap

最新稳定版本:v1.1.4

Composer 安装命令:

composer require trinityrank/sitemap

包简介

Website XML sitemap

README 文档

README

Latest Version on Packagist Total Downloads

Installation

You can install the package via composer:

composer require trinityrank/sitemap

How To Use

This package has multilang support. It is compatibile with trinityrank/multilanguage. For default language we use config app.locale value.

Step 1: Publishing

You need to publish file from package:

    php artisan vendor:publish --provider="Trinityrank\Sitemap\SitemapServiceProvider" --tag="generate-sitemap-files"

And change settings array according to your needs

Step 2: Registrate provider

  • Registrate MacrosServiceProvider in config/app.php
    /*
        * Application Service Providers...
    */
    App\Providers\MacrosServiceProvider::class

Step 3: Create sitemap

  • Now it is time to create your sitemap

    php artisan sitemap:generate
  • You can also put it into your Kernel.php

    $schedule->command('sitemap:generate')->dailyAt('03:00');

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固