PHPackages                             webchemistry/social-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. webchemistry/social-share

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

webchemistry/social-share
=========================

v1.1.0(4y ago)03.2k↓87.5%PHPPHP &gt;= 7.4

Since Jan 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/WebChemistry/social-share)[ Packagist](https://packagist.org/packages/webchemistry/social-share)[ RSS](/packages/webchemistry-social-share/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Usage
-----

[](#usage)

### Standalone usage

[](#standalone-usage)

```
use WebChemistry\SocialShare\Provider\FacebookProvider;
use WebChemistry\SocialShare\Provider\LinkedInProvider;
use WebChemistry\SocialShare\SocialSharer;use WebChemistry\SocialShare\UrlToShare;

$sharer = new SocialSharer([
	new FacebookProvider(),
	new LinkedInProvider(),
]);

$sharer->share(new UrlToShare('https://example.com'));
```

### Nette

[](#nette)

```
extensions:
	socialShare: WebChemistry\SocialShare\DI\SocialShareExtension
```

### Nette configuration

[](#nette-configuration)

```
socialShare:
	facebook: true # default
	linkedIn: true # default
	mail: true # default
	messenger: true # default
	pinterest: true # default
	twitter: true # default
	whatsApp: true # default
```

### Nette inject

[](#nette-inject)

```
use WebChemistry\SocialShare\SocialSharerInterface;
use WebChemistry\SocialShare\UrlToShare;

class Service {

	public function __construct(SocialSharerInterface $sharer) {
		$sharer->share(new UrlToShare('https://example.com'));
	}

}
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Every ~239 days

Total

2

Last Release

1753d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/312e788a47a251e05734378921d4596a91819b7de416fa18e77aa69e08798ea8?d=identicon)[Antik](/maintainers/Antik)

---

Top Contributors

[![MartkCz](https://avatars.githubusercontent.com/u/10145362?v=4)](https://github.com/MartkCz "MartkCz (2 commits)")

### Embed Badge

![Health badge](/badges/webchemistry-social-share/health.svg)

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

###  Alternatives

[pedroborges/meta-tags

HTML meta tags generator for PHP.

4628.9k1](/packages/pedroborges-meta-tags)[mimicreative/yii2-react

ReactJS Asset Bundle for Yii2

131.4k](/packages/mimicreative-yii2-react)

PHPackages © 2026

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