PHPackages                             nswdpc/silverstripe-inline-linker - 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. nswdpc/silverstripe-inline-linker

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

nswdpc/silverstripe-inline-linker
=================================

Inline Link field that saves to gorriecoe/link

v1.0.0(1y ago)06.3k↓50%4[1 PRs](https://github.com/nswdpc/silverstripe-inline-linker/pulls)4BSD-3-ClausePHP

Since Jun 2Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/nswdpc/silverstripe-inline-linker)[ Packagist](https://packagist.org/packages/nswdpc/silverstripe-inline-linker)[ RSS](/packages/nswdpc-silverstripe-inline-linker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (8)Used By (4)

Inline linking field for Silverstripe
=====================================

[](#inline-linking-field-for-silverstripe)

This module provides:

- a basic **inline** linking field,
- saving into the existing Link model provided by [gorriecoe/silverstripe-link](https://github.com/gorriecoe/silverstripe-link)
- delete link handling

This module is under active development, pull requests are welcome.

Background
----------

[](#background)

Rather than taking our content editors to a new data entry screen for the purposes of adding a link to a record, the field allows a link to be added to the current record within the context of that record.

The link can be added using one of the provided fields:

- Enter an external URL
- Enter an e-mail address
- Select a page
- Select a file asset
- Enter a phone number

### Upload field example

[](#upload-field-example)

[![Image of the field showing a link being set to a file upload](./docs/img/file.png)](./docs/img/file.png)

The object of this module is to:

- allow editing and creation of links within the context of the parent record
- have no Javascript dependencies, beyond those provided by core framework fields (we tried)
- act as a drop-in replacement for the LinkField provided by [gorriecoe/silverstripe-linkfield](https://github.com/gorriecoe/silverstripe-linkfield) (NB: **for has-one relations only**)

### Elemental inline editing

[](#elemental-inline-editing)

This module supports inline editing in Elemental. The field will detect whether it has been loaded in an inline editable context and makes allowances for this.

Rather than create a React component for the field, we use the standard [MutationObserver API](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) to detect field changes in the administration area based on an HTML5 data attribute attached to the relevant fields.

A source file is provided in [client/src/js/app.js](./client/src/js/app.js) for reference.

A future goal is to decouple the administration (entwine) event detection/handling and allow the field to be used outside the administration area.

TODO
----

[](#todo)

- Fragment field for page linking

Usage
-----

[](#usage)

- [Example](./docs/en/001_index.md#Example+usage)

Requirements
------------

[](#requirements)

See [composer.json](./composer.json)

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

[](#installation)

The only supported way of installing this module is via [composer](https://getcomposer.org/download/)

```
composer require nswdpc/silverstripe-inline-linker
```

License
-------

[](#license)

[BSD-3-Clause](./LICENSE.md)

Documentation
-------------

[](#documentation)

- [Further documentation](./docs/en/001_index.md)

Configuration
-------------

[](#configuration)

None, yet

You can find the extensions used in [config.yml](./_config/config.yml).

Maintainers
-----------

[](#maintainers)

- [dpcdigital@NSWDPC:~$](https://dpc.nsw.gov.au)

Bugtracker
----------

[](#bugtracker)

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the [code of conduct](./code-of-conduct.md) prior to opening a new issue.

Security
--------

[](#security)

If you have found a security issue with this module, please email digital\[@\]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the [code of conduct](./code-of-conduct.md) prior to completing a pull request.

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance55

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.4% 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 ~210 days

Total

3

Last Release

653d ago

Major Versions

v0.2.0 → v1.0.02024-07-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/1caefd99092b4a43254e48c40347224f671032ec1ffc3a457e06a7e9ab6e7c02?d=identicon)[nswdpc](/maintainers/nswdpc)

---

Top Contributors

[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (76 commits)")[![MrJamesEllis](https://avatars.githubusercontent.com/u/603960?v=4)](https://github.com/MrJamesEllis "MrJamesEllis (7 commits)")[![tardinha](https://avatars.githubusercontent.com/u/457209?v=4)](https://github.com/tardinha "tardinha (5 commits)")[![kjmnavarro](https://avatars.githubusercontent.com/u/42176805?v=4)](https://github.com/kjmnavarro "kjmnavarro (1 commits)")

---

Tags

linksilverstripelinkfieldinline link editing

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/nswdpc-silverstripe-inline-linker/health.svg)

```
[![Health](https://phpackages.com/badges/nswdpc-silverstripe-inline-linker/health.svg)](https://phpackages.com/packages/nswdpc-silverstripe-inline-linker)
```

###  Alternatives

[silverstripe/blog

A fresh take on blogging in Silverstripe set out to tackle the issue of a cluttered Site Tree.

104739.2k31](/packages/silverstripe-blog)[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)
