PHPackages                             ezsystems/share-buttons-bundle - 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. ezsystems/share-buttons-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

ezsystems/share-buttons-bundle
==============================

Social share buttons integration bundle into eZ Publish/eZ Platform

v1.2.0(7y ago)524.5k101GPL-2.0PHP

Since Oct 27Pushed 7y ago25 watchersCompare

[ Source](https://github.com/ezsystems/EzSystemsShareButtonsBundle)[ Packagist](https://packagist.org/packages/ezsystems/share-buttons-bundle)[ RSS](/packages/ezsystems-share-buttons-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (8)Used By (1)

Share Buttons Bundle
====================

[](#share-buttons-bundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/dc576021daa6d6ac78e3b20620246d348a6172276421d0b15a32cf8ba551f1d6/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38663330393336302d633730612d343836662d396437662d6235303836386663653636332f6269672e706e67)](https://insight.sensiolabs.com/projects/8f309360-c70a-486f-9d7f-b50868fce663)

This bundle adds social share buttons into Symfony applications *(including eZ Publish 5.x &amp; eZ Platform)*.

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

[](#requirements)

- Symfony v2.6 or later.

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

[](#installation)

This package is available via Composer, so the instructions below are similar to how you install any other open source Symfony Bundle.

Run the following command in a terminal, from your Symfony installation root (pick most recent release):

```
php composer.phar require ezsystems/share-buttons-bundle
```

Enable the bundle in `app/AppKernel.php` file (for regular Symfony application) or `ezpublish\EzPublishKernel.php` file (for eZ Publish / eZ Platform):

```
$bundles = array(
    // existing bundles
    new EzSystems\ShareButtonsBundle\EzSystemsShareButtonsBundle()
);
```

Install additional assets (CSS) for default template (omit this step if you are planning to use custom stylesheets):

```
{% stylesheets
    bundles/ezsystemssharebuttonsbundle/css/default.css
%}

{% endstylesheets %}
```

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

[](#configuration)

The bundle's configuration depends on siteaccess. This is an example of settings (`config.yml`):

```
ez_share_buttons:
    system:
        default:
            # enable only those providers you are interested
            providers:
                - facebook_like
                - facebook_recommend
                - twitter
                - linkedin
                - google_plus
                - xing
            template: default

            facebook_like:
                # available options are: standard, box_count, button_count, button
                layout: button
                width: ~
                show_faces: true
                # displays additional `share` button
                share: false

            facebook_recommend:
                # available options are: standard, box_count, button_count, button
                layout: button
                width: ~
                show_faces: true
                # displays additional `share` button
                share: false

            twitter:
                show_username: false
                large_button: false
                language: ~

            linkedin:
                # available options are: top, right, none
                count_mode: none
                language: en_US

            google_plus:
                # available options are: small, medium, standard, tall
                size: medium
                # available options are: inline, bubble, none
                annotation: none
                width: ~
                language: en-GB

            xing:
                # available options are: square, none
                shape: none
                # available options are: right, top, none
                counter: none
                # available options are: de, none
                language: none
```

Features
--------

[](#features)

### Comments abstraction

[](#comments-abstraction)

`ShareButtonsBundle` is **provider based**. This means that it is open to **any kind of social share services**.

### Single entry point

[](#single-entry-point)

Render your social share buttons with a single line of code.

Available integration
---------------------

[](#available-integration)

Currently, `ShareButtonsBundle` is working with the following social share services:

- Facebook like
- Facebook recommend
- Google Plus
- LinkedIn share
- Twitter
- Xing

Usage
-----

[](#usage)

Insert the following Twig helper in the place where you want to display the share buttons bar:

```
{{ show_share_buttons() }}
```

You can override existing siteaccess configuration for `ShareButtonsBundle` by adding additional arguments:

```
{{ show_share_buttons(
   options = {
       provider_label: {
           key: 'value'
       },
       template: 'default'
   },
   providers = ['provider_label']
) }}
```

More practical example of the usage:

```
{{ show_share_buttons(
    options = {
        facebook_like: {
            layout: 'button_count',
            show_faces: true
        },
        google_plus: {
            size: 'small',
            annotation: 'bubble'
        }
        template: 'default'
    },
    providers = ['facebook_like', 'google_plus']
 ) }}
```

License
-------

[](#license)

This bundle is under **[GPL v2.0 license](http://www.gnu.org/licenses/gpl-2.0.html)**.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity68

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

Recently: every ~238 days

Total

7

Last Release

2881d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/235928?v=4)[Bertrand Dunogier](/maintainers/bdunogier)[@bdunogier](https://github.com/bdunogier)

![](https://avatars.githubusercontent.com/u/681611?v=4)[Ibexa Bot](/maintainers/ezrobot)[@ezrobot](https://github.com/ezrobot)

![](https://avatars.githubusercontent.com/u/130489?v=4)[Łukasz Serwatka](/maintainers/lserwatka)[@lserwatka](https://github.com/lserwatka)

---

Top Contributors

[![clash82](https://avatars.githubusercontent.com/u/3033038?v=4)](https://github.com/clash82 "clash82 (9 commits)")[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (5 commits)")[![krzyraj](https://avatars.githubusercontent.com/u/10994836?v=4)](https://github.com/krzyraj "krzyraj (2 commits)")[![damianz5](https://avatars.githubusercontent.com/u/3495796?v=4)](https://github.com/damianz5 "damianz5 (1 commits)")[![kamilmusial](https://avatars.githubusercontent.com/u/3974074?v=4)](https://github.com/kamilmusial "kamilmusial (1 commits)")[![SylvainGuittard](https://avatars.githubusercontent.com/u/1157233?v=4)](https://github.com/SylvainGuittard "SylvainGuittard (1 commits)")

---

Tags

ez-platformfacebookphpsymfonysymfony-bundlefacebooktwittersociallinkedinbuttonssharegoogle plus

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ezsystems-share-buttons-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ezsystems-share-buttons-bundle/health.svg)](https://phpackages.com/packages/ezsystems-share-buttons-bundle)
```

###  Alternatives

[social-links/social-links

PHP library to generate share buttons

112338.6k2](/packages/social-links-social-links)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)[ryannielson/shareable

A Laravel 4 package to make it easy to add social sharing buttons to your application.

222.8k](/packages/ryannielson-shareable)[kartik-v/yii2-social

Module containing useful widgets for Yii Framework 2.0 that integrates social functionalities from DISQUS, Facebook, Google etc.

91256.5k8](/packages/kartik-v-yii2-social)[fritzmg/contao-sharebuttons

Simple Contao extension to provide share buttons as a module and content element

1832.5k](/packages/fritzmg-contao-sharebuttons)

PHPackages © 2026

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