PHPackages                             deptinternalaffairsnz/silverstripe-navigation-scraper - 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. deptinternalaffairsnz/silverstripe-navigation-scraper

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

deptinternalaffairsnz/silverstripe-navigation-scraper
=====================================================

1.0.1(10y ago)41171PHP

Since Dec 10Pushed 10y ago2 watchersCompare

[ Source](https://github.com/DIA-NZ/silverstripe-navigation-scraper)[ Packagist](https://packagist.org/packages/deptinternalaffairsnz/silverstripe-navigation-scraper)[ RSS](/packages/deptinternalaffairsnz-silverstripe-navigation-scraper/feed)WikiDiscussions master Synced 3w ago

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

SilverStripe Navigation Scraper
===============================

[](#silverstripe-navigation-scraper)

A module for SilverStripe that allows you to scrape navigation from another site and use it as navigation on your own site.

Installation
------------

[](#installation)

Install with composer:

```
composer require 'deptinternalaffairsnz/silverstripe-navigation-scraper' '1.0.1'

```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

In your own config file (e.g. `mysite/_config/config.yml`) define the menu sets, URLs to scrape, and CSS selectors to target.

```
NavigationScraper:
  MenuSets:
	ScrapedFooter:
	  PageToScrape: 'https://www.example.com'
	  CSSSelector: '.footer-nav li a'
	ScrapedMainNav:
	  PageToScrape: 'https://www.example.com'
	  CSSSelector: '.header-nav li a'
```

### Trigger a scrape

[](#trigger-a-scrape)

There are two options to trigger a scrape.

1. Run the build task `dev/tasks/TriggerScrapeBuildTask`
2. Install the cron task module - assuming you've configured a cron job appropriately a scrape will be run daily at 1am by default.

### Templates

[](#templates)

Use the $ScrapedMenu function in your templates, like so:

```

		$Title

```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~4 days

Total

2

Last Release

3847d ago

### Community

Maintainers

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

---

Top Contributors

[![tyrannosaurusjames](https://avatars.githubusercontent.com/u/3037783?v=4)](https://github.com/tyrannosaurusjames "tyrannosaurusjames (13 commits)")

### Embed Badge

![Health badge](/badges/deptinternalaffairsnz-silverstripe-navigation-scraper/health.svg)

```
[![Health](https://phpackages.com/badges/deptinternalaffairsnz-silverstripe-navigation-scraper/health.svg)](https://phpackages.com/packages/deptinternalaffairsnz-silverstripe-navigation-scraper)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.1M83](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M264](/packages/symbiote-silverstripe-gridfieldextensions)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

59429.0k12](/packages/jonom-silverstripe-betternavigator)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46299.9k9](/packages/symbiote-silverstripe-advancedworkflow)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39317.0k29](/packages/lekoala-silverstripe-cms-actions)

PHPackages © 2026

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