PHPackages                             stevenpaw/silverstripe-sociallink - 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. stevenpaw/silverstripe-sociallink

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

stevenpaw/silverstripe-sociallink
=================================

A small module for providing a new type of link with the silverstripe linkfield-module for social media links, providing fitting icons for the most used social media platforms in the style of fontawesome, but locally hosted, so with the german dsgvo in mind.

v6.0.0(1mo ago)00BSD-3-ClauseJavaScriptPHP ^8.3

Since Jul 6Pushed 1mo agoCompare

[ Source](https://github.com/StevenPaw/silverstripe-sociallink)[ Packagist](https://packagist.org/packages/stevenpaw/silverstripe-sociallink)[ RSS](/packages/stevenpaw-silverstripe-sociallink/feed)WikiDiscussions 6 Synced 2w ago

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

stevenpaw/silverstripe-sociallink
=================================

[](#stevenpawsilverstripe-sociallink)

A Silverstripe 6+ module that adds a **Social Media Link** type to [silverstripe/linkfield](https://github.com/silverstripe/silverstripe-linkfield). Editors can pick a social platform from a searchable dropdown and enter the profile URL. Platform icons are self-hosted SVGs (DSGVO-compliant, no external CDN).

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

[](#requirements)

- PHP 8.3+
- Silverstripe CMS 6.1+
- silverstripe/linkfield 5+

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

[](#installation)

```
composer require stevenpaw/silverstripe-sociallink
```

After installing, run a dev/build to create the database table and seed the platform records:

```
/dev/build?flush=1

```

Usage
-----

[](#usage)

### In the CMS

[](#in-the-cms)

`SocialLink` is automatically available as a link type in any `LinkField`. Editors select a platform from the searchable dropdown and enter the profile URL.

### In templates

[](#in-templates)

Check whether the current link is a SocialLink by testing `$SocialPlatform.exists`. The `SocialPlatform` object provides two helper methods:

**Inline SVG** (recommended — no HTTP request, inherits CSS `color`):

```

        $SocialPlatform.IconSVG

    $Title

```

**Public URL** (for use in `` or CSS `background-image`):

```

```

**Platform key** (e.g. `instagram`, `youtube`) for custom logic or CSS classes:

```

    ...

```

Or in PHP:

```
$platformKey = $link->getPlatform(); // e.g. 'instagram'
```

### Supported platforms

[](#supported-platforms)

46 platforms are seeded automatically on `dev/build`:

Apple Music, Atlassian, Bandcamp, Behance, Bluesky, Dailymotion, Deezer, Discord, Dribbble, Facebook, Flickr, GitHub, GitLab, Instagram, KakaoTalk, LINE, LinkedIn, Medium, Microsoft Teams, Mixcloud, Odnoklassniki, Patreon, Pinterest, Reddit, ReverbNation, Signal, Skype, Slack, Snapchat, SoundCloud, Spotify, Steam, Telegram, Tidal, TikTok, Twitch, Vimeo, VK, WeChat, Weibo, WhatsApp, X (Twitter), YouTube, YouTube Music, Zoom

Platforms without a matching FontAwesome 6 Brands icon (Deezer, KakaoTalk, ReverbNation, Signal, Tidal, Zoom) fall back to a generic share icon.

If you need a new public platform, please submit an issue on the repository and I will gladly add it.

License
-------

[](#license)

BSD 3-Clause

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance91

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Every ~4 days

Total

2

Last Release

41d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37051985?v=4)[Steffen Kahl](/maintainers/StevenPaw)[@StevenPaw](https://github.com/StevenPaw)

---

Top Contributors

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

---

Tags

silverstripecms

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/stevenpaw-silverstripe-sociallink/health.svg)

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

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5153.7M1.4k](/packages/silverstripe-cms)[symbiote/silverstripe-advancedworkflow

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

46304.8k9](/packages/symbiote-silverstripe-advancedworkflow)[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.1M94](/packages/silverstripe-userforms)[dnadesign/silverstripe-elemental

Elemental pagetype and collection of Elements

1101.1M340](/packages/dnadesign-silverstripe-elemental)[silverstripe/admin

SilverStripe admin interface

272.8M402](/packages/silverstripe-admin)[axllent/silverstripe-cms-tweaks

Several CMS usability improvements

1726.6k1](/packages/axllent-silverstripe-cms-tweaks)

PHPackages © 2026

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