PHPackages                             flxlabs/silverstripe-dataobject-links - 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. flxlabs/silverstripe-dataobject-links

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

flxlabs/silverstripe-dataobject-links
=====================================

Adds links to data objects in TinyMCE editor

3.0.0(5mo ago)610.6k↑87.5%7[20 PRs](https://github.com/flxlabs/silverstripe-dataobject-links/pulls)BSD-3-ClauseJavaScript

Since Aug 13Pushed 5mo ago1 watchersCompare

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

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

DataObject Links
================

[](#dataobject-links)

**Add links to DataObjects from within the TinyMCE editor**

Introduction
------------

[](#introduction)

Using this module you can link to DataObjects from within TinyMCE.

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

[](#requirements)

- Silverstripe CMS ^6
- silverstripe/htmleditor-tinymce ^1

Setup
-----

[](#setup)

You can either add this module to your composer file using

```
composer require flxlabs/silverstripe-dataobject-links
```

or download the git repository and add a folder called `dataobject-links` to the top level of your project and drop the code in there.

Configure
---------

[](#configure)

In your settings `.yml` file put a section with

```
FLxLabs\DataObjectLink\DataObjectLinkModalExtension:
  classes:
    Team:
      name: Team
    Player: Player
      name: Player
      sort: Title
```

Where `classes` is a map from ClassName to display name that is used when selecting the DataObject.

Make sure to run `/dev/build?flush` to load in your config changes.

Usage
-----

[](#usage)

In TinyMCE's `Insert link` menu there will be a new entry `Link to an Object` at the very top. Use that to link to an Object of one of the classes that is listed in your config.

When generating the link this module will call the `Link` method on a DataObject. Override it to provide a link to your DataObject.

```
// This code doesn't actually work, it's just an example
public function Link() {
  return DataObject::get()->first()->Link() . $this->ID;
}
```

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance72

Regular maintenance activity

Popularity32

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~334 days

Recently: every ~231 days

Total

9

Last Release

160d ago

Major Versions

1.1.0 → 2.0.02023-05-30

2.0.3 → 3.0.02025-12-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1572366?v=4)[Marco Crespi](/maintainers/Valandur)[@Valandur](https://github.com/Valandur)

---

Top Contributors

[![mxmclaudel](https://avatars.githubusercontent.com/u/47611282?v=4)](https://github.com/mxmclaudel "mxmclaudel (3 commits)")[![flxqr2](https://avatars.githubusercontent.com/u/25153596?v=4)](https://github.com/flxqr2 "flxqr2 (2 commits)")

---

Tags

dataobjectlinkssilverstripesilverstripe-4silverstripe-moduletinymce-pluginsilverstripecmstinymce

### Embed Badge

![Health badge](/badges/flxlabs-silverstripe-dataobject-links/health.svg)

```
[![Health](https://phpackages.com/badges/flxlabs-silverstripe-dataobject-links/health.svg)](https://phpackages.com/packages/flxlabs-silverstripe-dataobject-links)
```

###  Alternatives

[sunnysideup/typography

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

124.2k3](/packages/sunnysideup-typography)

PHPackages © 2026

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