PHPackages                             ruskid/yii2-jssocials - 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. ruskid/yii2-jssocials

ActiveLibrary

ruskid/yii2-jssocials
=====================

Yii2 JsSocials Wrapper

01.5kPHP

Since Aug 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ruskid/yii2-jssocials)[ Packagist](https://packagist.org/packages/ruskid/yii2-jssocials)[ RSS](/packages/ruskid-yii2-jssocials/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 JsSocials Wrapper.
=======================

[](#yii2-jssocials-wrapper)

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

[](#installation)

The preferred way to install this extension is through .

Either run

```
php composer.phar require ruskid/yii2-jssocials "dev-master"
```

or add

```
"ruskid/yii2-jssocials": "dev-master"
```

to the require section of your `composer.json` file.

Why?
----

[](#why)

I didn't like existing yii2 share solutions...

1. **yii2-social** has only native sharing and non customizable buttons
2. Other solutions provided customizable buttons, but without built in popup and native sharing support.

**jssocials** is 👍 =)

Check these for **pluginOptions**
---------------------------------

[](#check-these-for-pluginoptions)

### Usage

[](#usage)

```
echo JsSocials::widget([
    'theme' => JsSocials::THEME_MINIMA, //4 available themes
    'pluginOptions' => [
        'showLabel' => false,
        'showCount' => false,
        'shareIn' => 'popup',
        'shares' => [
            [
              'share' => 'email',
              'label' => Yii::t('app', 'Email'),
              'to' => 'demmbox@gmail.com',
            ],
            "twitter",
            "facebook",
            "googleplus",
            "linkedin",
            "pinterest",
            "stumbleupon",
            "whatsapp"
        ]
    ]
]);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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/12093591a2c01098c8613b3d765dd14f64e952691b0048cd0f5ee65438a77244?d=identicon)[ruskid](/maintainers/ruskid)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ruskid-yii2-jssocials/health.svg)

```
[![Health](https://phpackages.com/badges/ruskid-yii2-jssocials/health.svg)](https://phpackages.com/packages/ruskid-yii2-jssocials)
```

PHPackages © 2026

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