PHPackages                             networkteam/neos-shariff - 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. networkteam/neos-shariff

ActiveNeos-plugin[Utility &amp; Helpers](/categories/utility)

networkteam/neos-shariff
========================

Integrate shariff, social buttons with privacy

5.1.0(2y ago)78.4k↓33.3%13[1 issues](https://github.com/networkteam/Networkteam.Neos.Shariff/issues)[2 PRs](https://github.com/networkteam/Networkteam.Neos.Shariff/pulls)GPL-2.0-or-laterPHPPHP ^7.4 || ^8.0

Since Jan 16Pushed 2y ago8 watchersCompare

[ Source](https://github.com/networkteam/Networkteam.Neos.Shariff)[ Packagist](https://packagist.org/packages/networkteam/neos-shariff)[ RSS](/packages/networkteam-neos-shariff/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (21)Used By (0)

Networkteam.Neos.Shariff
========================

[](#networkteamneosshariff)

Social plugins are on every page today, but if you have concerns about privacy of your visitors it is not that easy to integrate them. The german publisher Heise created a general solution that allows to show the counts for each share while preserving the privacy of website visitory. This is accomplished by using the server of the website as proxy for the visitors.

This plugin integrates Shariff into Neos with a few simple steps.

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

[](#installation)

```
$ composer require networkteam/neos-shariff

```

### Compatibility

[](#compatibility)

See the following table for the correct plugin version to choose:

Neos CMSPlugin version&gt;= 4.35.x&lt; 5.04.x&lt; 4.03.x&lt; 3.02.x&lt; 2.01.xConfiguration
-------------

[](#configuration)

Configure the list of services to show in a `Settings.yaml` (e.g. in your site package):

```
Networkteam:
  Neos:
    Shariff:
      options:
        services:
          - WhatsApp
          - Twitter
          - Facebook
          - Pinterest
          - Mail

```

See `Configuration/Settings.yaml` for more information about possible options.

Usage
-----

[](#usage)

### As a content element

[](#as-a-content-element)

This package contains a simple node type `Networkteam.Neos.Shariff:Shariff` that renders social share buttons via Shariff. Just add a new node of this type to a document in the Neos backend.

### Usage via Fusion

[](#usage-via-fusion)

In your prototype define a property which renders the social plugins like this:

```
prototype(My.Awesome.Package:Post) {
    socialButtons = Networkteam.Neos.Shariff:Shariff
}

```

Then in the corresponding template render the path like this:

```
{socialButtons -> f:format.raw()}

```

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

[](#configuration-1)

Shariff is configured by data-attributes. A basic set of these attributes is already defined by package settings.

- `data-backend-url`
- `data-services`
- `data-theme`
- `data-orientation`
- `data-lang`

You can override them in your settings.yaml.

```
Networkteam:
  Neos:
    Shariff:
      frontend:
        theme: standard
        orientation: horizontal
        language: en
      options:
        domain: ~
        cache:
          ttl: 3600
        services:
#          - Facebook
#          - Twitter
#          - LinkedIn
#          - Reddit
#          - StumbleUpon
#          - Flattr
#          - Pinterest
#          - Xing

```

If you want to extend the configuration just go like this:

```
prototype(Networkteam.Neos.Shariff:Shariff) {
    attributes {
        // Put additional attributes here, see https://github.com/heiseonline/shariff#options-data-attributes
        // data-example = 'value'
    }
}

```

Using Pinterest
---------------

[](#using-pinterest)

In order to use a "Pin it" button in shariff pinterest won't grab an image of your page automatically. You have to define one by using the "data-media-url" attribute. So just extend `prototype(Networkteam.Neos.Shariff:Shariff)` and use e.g. the twitterCardImage property of the current Document Node to serve a proper image.

Development
-----------

[](#development)

When you publish a new version, make sure to run `npm run-script build`. This will update the Shariff package and copy the assets into public folder. After build check in the modified files.

Acknowledgments
---------------

[](#acknowledgments)

Development of the Neos integration sponsored by [networkteam GmbH - Neos Agentur](https://networkteam.com/fokus/neos-cms.html).

License
-------

[](#license)

Licensed under GPLv2+, see [LICENSE](LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~444 days

Total

18

Last Release

930d ago

Major Versions

1.x-dev → 2.0.0-rc12015-07-10

2.0.1 → 3.0.02017-02-02

2.x-dev → 4.0.02018-12-10

4.0.1 → 5.02019-11-29

PHP version history (2 changes)5.0PHP ^7.1

5.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/790179df9a15d9175b9ec8fdc2df5c4c660a52a4fb6d429376cf66b66b0a595c?d=identicon)[chlu](/maintainers/chlu)

![](https://www.gravatar.com/avatar/7cbf52f8dce27737b73b79ac2c958434339f3dcf704b17a040956ed9a33eb4ef?d=identicon)[networkteam](/maintainers/networkteam)

---

Top Contributors

[![ComiR](https://avatars.githubusercontent.com/u/11410095?v=4)](https://github.com/ComiR "ComiR (47 commits)")[![hlubek](https://avatars.githubusercontent.com/u/33351?v=4)](https://github.com/hlubek "hlubek (38 commits)")[![monofone](https://avatars.githubusercontent.com/u/373163?v=4)](https://github.com/monofone "monofone (11 commits)")[![suffle](https://avatars.githubusercontent.com/u/10942229?v=4)](https://github.com/suffle "suffle (4 commits)")[![esdete2](https://avatars.githubusercontent.com/u/34043608?v=4)](https://github.com/esdete2 "esdete2 (4 commits)")[![ger4003](https://avatars.githubusercontent.com/u/1758522?v=4)](https://github.com/ger4003 "ger4003 (3 commits)")[![kdambekalns](https://avatars.githubusercontent.com/u/95873?v=4)](https://github.com/kdambekalns "kdambekalns (2 commits)")[![bbehrendt-mm](https://avatars.githubusercontent.com/u/93593289?v=4)](https://github.com/bbehrendt-mm "bbehrendt-mm (2 commits)")[![nilsjung](https://avatars.githubusercontent.com/u/24273394?v=4)](https://github.com/nilsjung "nilsjung (1 commits)")[![networkteamcom](https://avatars.githubusercontent.com/u/31891264?v=4)](https://github.com/networkteamcom "networkteamcom (1 commits)")

---

Tags

neoscmspluginshariffsocial-buttons

### Embed Badge

![Health badge](/badges/networkteam-neos-shariff/health.svg)

```
[![Health](https://phpackages.com/badges/networkteam-neos-shariff/health.svg)](https://phpackages.com/packages/networkteam-neos-shariff)
```

###  Alternatives

[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[neos/googleanalytics

Google Analytics integration for Neos CMS

15125.7k](/packages/neos-googleanalytics)[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2540.7k](/packages/kaufmanndigital-gdpr-cookieconsent)[shel/neos-commandbar

A commandbar (CMD+K) for Neos CMS

1614.6k1](/packages/shel-neos-commandbar)

PHPackages © 2026

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