PHPackages                             yaro/soc-share - 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. yaro/soc-share

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yaro/soc-share
==============

Social network share link builder

1.0.4(9y ago)101.9k2MITPHPPHP &gt;=5.4.0

Since Feb 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Cherry-Pie/SocShare)[ Packagist](https://packagist.org/packages/yaro/soc-share)[ RSS](/packages/yaro-soc-share/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

SocShare
--------

[](#socshare)

Link builder for social share button for Laravel 5.

### Installation

[](#installation)

Add dependency to composer.json:

```
"require": {
    "yaro/soc-share": "1.*"
}
```

Add to config/app.php:

```
'providers' => array(
//...
    Yaro\SocShare\ServiceProvider::class,
//...
),
'aliases' => array(
//...
    'SocShare' => Yaro\SocShare\Facade::class,
//...
),
```

Then run command:

```
$ php artisan vendor:publish --provider="Yaro\SocShare\ServiceProvider"
```

### Usage

[](#usage)

Currently supported networks: google+, facebook, twitter, vkontakte, pinterest, tumblr, odnoklassniki, linkedin.
Ex:

```
Google+ ({{ SocShare::gplus()->getCount() }})
Pin it!
```

To get share count call `getCount()` ia your network provider with the same parameters:

```

    Already {{ SocShare::pinterest(['media' => asset('/img/pin.png'), 'description' => 'oh hai'])->getCount() }}

```

Or go with js to open share dialog in new window:

```
{{ SocShare::renderJs() }}

Share me
```

All parameteres listed in config file.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 87% 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.

###  Release Activity

Cadence

Every ~107 days

Recently: every ~136 days

Total

8

Last Release

3354d ago

Major Versions

0.3 → 1.0.02015-09-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/337e05205184d845261f639b74255dedc7c3e75f069a38e79aa8083e91cf5a90?d=identicon)[Cherry Pie](/maintainers/Cherry%20Pie)

---

Top Contributors

[![Cherry-Pie](https://avatars.githubusercontent.com/u/3027596?v=4)](https://github.com/Cherry-Pie "Cherry-Pie (20 commits)")[![KHlushchenko](https://avatars.githubusercontent.com/u/6852568?v=4)](https://github.com/KHlushchenko "KHlushchenko (2 commits)")[![applevladko](https://avatars.githubusercontent.com/u/12535750?v=4)](https://github.com/applevladko "applevladko (1 commits)")

---

Tags

laravelsocialshare

### Embed Badge

![Health badge](/badges/yaro-soc-share/health.svg)

```
[![Health](https://phpackages.com/badges/yaro-soc-share/health.svg)](https://phpackages.com/packages/yaro-soc-share)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[chencha/share

Share links with Laravel

182272.6k](/packages/chencha-share)[ryannielson/shareable

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

222.8k](/packages/ryannielson-shareable)[fresns/fresns

Cross-platform general-purpose multiple content forms social network service software.

4841.5k](/packages/fresns-fresns)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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