PHPackages                             gorriecoe/silverstripe-ymlpresetlinks - 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. gorriecoe/silverstripe-ymlpresetlinks

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

gorriecoe/silverstripe-ymlpresetlinks
=====================================

Adds link types preset in your config.yml.

1.0.0(6y ago)05BSD-3-ClausePHP

Since Apr 18Pushed 6y ago2 watchersCompare

[ Source](https://github.com/gorriecoe/silverstripe-ymlpresetlinks)[ Packagist](https://packagist.org/packages/gorriecoe/silverstripe-ymlpresetlinks)[ Docs](http://github.com/gorriecoe/silverstripe-ymlpresetlinks)[ Fund](https://ko-fi.com/gorrie)[ RSS](/packages/gorriecoe-silverstripe-ymlpresetlinks/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Silverstripe yml preset links
=============================

[](#silverstripe-yml-preset-links)

Adds link types preset in your config.yml for [gorriecoe/silverstripe-link](https://github.com/gorriecoe/silverstripe-link).

This is useful for defining commonly used links, js functions and/or anchors.

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

[](#installation)

Composer is the recommended way of installing SilverStripe modules.

```
composer require gorriecoe/silverstripe-ymlpresetlinks

```

Example usage
-------------

[](#example-usage)

```
gorriecoe\Link\Models\Link:
  preset_types:
    'hello-world':
      Title: "Hello world alert"
      LinkURL: "javascript:alert('Hello World!');"
    'back-to-top':
      Title: "Scroll to top"
      LinkURL: "#back-to-top"
    'google':
      Title: "Google"
      LinkURL: "https://www.google.com/"
      OpenInNewWindow: true
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2215d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11811440?v=4)[Gorrie Coe](/maintainers/gorriecoe)[@gorriecoe](https://github.com/gorriecoe)

---

Top Contributors

[![gorriecoe](https://avatars.githubusercontent.com/u/11811440?v=4)](https://github.com/gorriecoe "gorriecoe (1 commits)")

---

Tags

linksilverstripe

### Embed Badge

![Health badge](/badges/gorriecoe-silverstripe-ymlpresetlinks/health.svg)

```
[![Health](https://phpackages.com/badges/gorriecoe-silverstripe-ymlpresetlinks/health.svg)](https://phpackages.com/packages/gorriecoe-silverstripe-ymlpresetlinks)
```

###  Alternatives

[sheadawson/silverstripe-linkable

A couple of handy form fields and objects for managing external and internal links on DataObjects

39316.2k24](/packages/sheadawson-silverstripe-linkable)[burnbright/silverstripe-externalurlfield

Provides SilverStripe with a DBField and FormField for handling external URLs.

109.6k1](/packages/burnbright-silverstripe-externalurlfield)

PHPackages © 2026

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