PHPackages                             intwebg/socialmediapack - 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. intwebg/socialmediapack

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

intwebg/socialmediapack
=======================

Give site social media sharing capabilities and template links

0111CSS

Since Oct 13Pushed 9y ago2 watchersCompare

[ Source](https://github.com/intwebg/socialmediapack)[ Packagist](https://packagist.org/packages/intwebg/socialmediapack)[ RSS](/packages/intwebg-socialmediapack/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

SocialMediaPack
===============

[](#socialmediapack)

Bring social media links and shared to SilverStripe

What it do:

- Add default shared image to SiteConfig as $SiteConfig.Image
- Add shared image to page as $Image

How it works:

- The page containing $Image in MetaData is taken instead of $SiteConfig.Image when configured.
- The $SiteConfig.Image will be taken if $image isnt added inside pages.
- Add automatically in head of your pages additionnals MetaData to override random shares images

Social media usage:

- And include SocialMediaShares into page templates to display social media sharing capabilities
- Select one of the theme styles or choose your own design

Good for:

- News shared image
- Portfolio shared image
- Blog shared image

Informations for your page templates:

- If you use a different image field name (ex.: NewsImage), you can duplicate it like:

    $this-&gt;ImageID = $this-&gt;NewsImageID;
- Remember to hide $Image when doing this operation:

    $fields-&gt;addFieldToTab('Root.Main.Metadata', new HiddenField("Image","Image"));

TODO:

- Translation to other language
- Include SocialMediaLinks to display social media link into a templates (not ready at this time)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa33ccbb4c02d6e7cb98f757e2bdfcc6b7500ae1d28637d357d14c51c222f4a1?d=identicon)[interactionwebg](/maintainers/interactionwebg)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/intwebg-socialmediapack/health.svg)

```
[![Health](https://phpackages.com/badges/intwebg-socialmediapack/health.svg)](https://phpackages.com/packages/intwebg-socialmediapack)
```

###  Alternatives

[0.0.0/composer-include-files

Include files at a higher priority than autoload files. Useful for overriding Laravel helpers.

12442.9k10](/packages/000-composer-include-files)

PHPackages © 2026

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