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↓75%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 1mo ago

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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

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

1707d 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

[bertptrs/phpstreams

A streams library for PHP based on the Java 8 Streams API.

883.2k](/packages/bertptrs-phpstreams)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.5k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

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