PHPackages                             restruct/silverstripe-namedlinkfield - 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. restruct/silverstripe-namedlinkfield

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

restruct/silverstripe-namedlinkfield
====================================

A SilverStripe composite field for having various link types \*with title\*, in a single field with a nicely styled form.

3.0.1(9mo ago)91.5k[4 PRs](https://github.com/restruct/silverstripe-namedlinkfield/pulls)BSD-3-ClausePHP &gt;=8.3

Since Apr 7Compare

[ Source](https://github.com/restruct/silverstripe-namedlinkfield)[ Packagist](https://packagist.org/packages/restruct/silverstripe-namedlinkfield)[ RSS](/packages/restruct-silverstripe-namedlinkfield/feed)WikiDiscussions Synced today

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

A link field (with title) for SilverStripe
==========================================

[](#a-link-field-with-title-for-silverstripe)

A single inline link field which allows users to set a title/name for the link, and select

- a page + optional text-anchor from the site tree
- a file from the assets dir
- an e-mail address (mailto link)
- define a custom URL to link to
- or enter a shortcode

[![namedlinkfield](https://private-user-images.githubusercontent.com/1005986/493282436-4ee67dd7-9e0d-40d9-b2b0-bfb508275db2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2OTk5NzgsIm5iZiI6MTc4MzY5OTY3OCwicGF0aCI6Ii8xMDA1OTg2LzQ5MzI4MjQzNi00ZWU2N2RkNy05ZTBkLTQwZDktYjJiMC1iZmI1MDgyNzVkYjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUN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1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.fyfjbMhvaECd05Enuder2ZVCGQtbb6Ew3ZjYzAsYllY)Usage
-----

[](#usage)

```
use Restruct\SilverStripe\ORM\FieldType\NamedLinkField;
use Restruct\SilverStripe\Forms\NamedLinkFormField;

...

private static $db = array(
    'NextAction' => NamedLinkField::class,
);

...

public function getCMSFields()
{
    $fields = parent::getCMSFields();

    $fields->insertBefore(
        "Content",
        NamedLinkFormField::create('ActionButton')
    );

    return $fields;
}
```

TODO
----

[](#todo)

- Check source-class-HtmlEditorField\_Toolbar.html#\_LinkForm for inline uploading of files etc
- Make translatable/i18n

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance56

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

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 ~193 days

Recently: every ~9 days

Total

19

Last Release

295d ago

Major Versions

1.3.3 → 2.02018-04-27

2.1.3 → 3.0.02025-10-06

PHP version history (2 changes)2.1.2PHP &gt;=7.4

3.0.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d3680d6353e5f171543435b89965ba2588186ad7ec0ec97cbf572704fec2a4f?d=identicon)[micschk](/maintainers/micschk)

### Embed Badge

![Health badge](/badges/restruct-silverstripe-namedlinkfield/health.svg)

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

###  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.1M92](/packages/silverstripe-userforms)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

37359.9k34](/packages/lekoala-silverstripe-cms-actions)[symbiote/silverstripe-advancedworkflow

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

46304.8k9](/packages/symbiote-silverstripe-advancedworkflow)[lekoala/silverstripe-softdelete

Soft delete extension for SilverStripe

11246.7k](/packages/lekoala-silverstripe-softdelete)[sunnysideup/typography

Add a typography test page to your silverstripe website / application.

124.5k4](/packages/sunnysideup-typography)

PHPackages © 2026

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