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

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

nycooookie/social-share
=======================

Generate share links for various social services

035PHP

Since Nov 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nycooookie/SocialShare)[ Packagist](https://packagist.org/packages/nycooookie/social-share)[ RSS](/packages/nycooookie-social-share/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Social Share
============

[](#social-share)

This "library" helps you generate share links for various (well at the moment rather limited) social services.

```
$s = new SocialShare('Google', 'https://google.com', 'This is Google');
$s->twitter();  // "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fgoogle.com"
$s->facebook(); // "https://twitter.com/intent/tweet?text=Google&url=https%3A%2F%2Fgoogle.com"
$s->xing();     // "https://www.xing.com/spi/shares/new?url=https%3A%2F%2Fgoogle.com"
$s->linkedin(); // "https://www.linkedin.com/shareArticle?url=https%3A%2F%2Fgoogle.com&summary=This+is+Google"
$s->mail();     // "mailto:?subject=Google&body=This%20is%20Google%3A%20https%3A%2F%2Fgoogle.com"
$s->all();      // All of the above in an array

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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/e81f4109e35d98580c953d3f9019f9a1323074fd454b48b9aa94bbbc221f42c5?d=identicon)[nycooookie](/maintainers/nycooookie)

---

Top Contributors

[![elwin](https://avatars.githubusercontent.com/u/2250324?v=4)](https://github.com/elwin "elwin (5 commits)")

### Embed Badge

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

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

###  Alternatives

[maxakawizard/phpmorphy

phpMorphy - morphological analyzer library for Russian, English and German languages

1398.5k1](/packages/maxakawizard-phpmorphy)[sintret/yii2-chat-adminlte

Yii2 extension for Chat plugin with admin lte

2714.7k3](/packages/sintret-yii2-chat-adminlte)[verbb/shortcut

Simple URL shortening.

122.4k](/packages/verbb-shortcut)

PHPackages © 2026

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