noking50/sitemap

There is no license information available for the latest version (1.0.1) of this package.

Sitemap manage all routes

1.0.1 2018-06-21 06:48 UTC

This package is not auto-updated.

Last update: 2024-05-12 03:25:14 UTC


README

Manage Sitemap with Laravel Route

Installing

install

composer required noking50/sitemap

config

$sitemap = [
    // main site sitemap path
    'main' => 'official',
];

// sitemap files root dir
$sitemap_path = app_path('Http/Sitemap/');

Usage

get current sitemap node

Sitemap::node()

get some url sitemap node

Sitemap::node($path)