PHPackages                             alphalemon/social-sdk-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. alphalemon/social-sdk-bundle

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

alphalemon/social-sdk-bundle
============================

Adds the SDK required by social networks at the end of the web page, only when the SDK is required

116PHP

Since Dec 9Pushed 13y ago1 watchersCompare

[ Source](https://github.com/alphalemon/SocialSDKBundle)[ Packagist](https://packagist.org/packages/alphalemon/social-sdk-bundle)[ RSS](/packages/alphalemon-social-sdk-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

The SocialSDK Bundle
====================

[](#the-socialsdk-bundle)

This bundle adds the SDK required by social networks at the end of the web page, only when the SDK is required.

This means that the facebook sdk is added to the page, only when a fecebook button is added to the page.

Supported SDK
-------------

[](#supported-sdk)

At the moment the SocialSDK Bundle supports those social networks:

- Twitter
- Facebook

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

[](#installation)

You can add the **SocialSDK Bundle** to your application adding it to your composer.json file:

.. code-block:: text

```
{
    "require": {
        "alphalemon/social-sdk-bundle": "dev-master",
    }
}

```

If you use the AlphaLemonBootstrapBundle the bundle is autoloaded, otherwise add it to the application **AppKernel.php** file:

.. code-block:: php

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            [...]

            new AlphaLemon\Block\SearchBlockBundle\SearchBlockBundle(),
        );
    }
}

```

Add a new SDK
-------------

[](#add-a-new-sdk)

A new SDK is easily added, add a new provider that extends the **AlphaLemon\\Block\\SocialSDKBundle\\Core\\Sdk\\SdkBase**. This abstract base class provides a common constructor and implements the **AlphaLemon\\Block\\SocialSDKBundle\\Core\\Sdk\\SdkInterface**, without implementing its method as well, which must be defined in the derived class.

Unit test
---------

[](#unit-test)

The bunde is not yet unit tested, so use it just with test or implementation pourpose.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/86c46bc59b7abe8c18a0bb08713b28f2a4e10c729f5c4c247361860f421bdf46?d=identicon)[alphalemon](/maintainers/alphalemon)

### Embed Badge

![Health badge](/badges/alphalemon-social-sdk-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/alphalemon-social-sdk-bundle/health.svg)](https://phpackages.com/packages/alphalemon-social-sdk-bundle)
```

PHPackages © 2026

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