PHPackages                             nostadt/share-url - 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. nostadt/share-url

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

nostadt/share-url
=================

2.0.0(2y ago)03.6kMITPHPPHP &gt;=8.2CI passing

Since Feb 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/nostadt/php-share-url)[ Packagist](https://packagist.org/packages/nostadt/share-url)[ Docs](https://github.com/nostadt/php-share-url/)[ RSS](/packages/nostadt-share-url/feed)WikiDiscussions development Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

PHP Share URL
=============

[](#php-share-url)

[![CI Process](https://github.com/nostadt/php-share-url/actions/workflows/default.yml/badge.svg)](https://github.com/nostadt/php-share-url/actions/workflows/default.yml)[![packagist.org](https://camo.githubusercontent.com/538d1ea47272052929e77ad26e163778259a2174ca5ea482aab3b2d0498933ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f73746164742f73686172652d75726c)](https://packagist.org/packages/nostadt/share-url)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/paypalme/amartinno1/5)

This PHP package provides pure classes, to generate share-urls for social networks and messengers.
For an up-to-date list of supported targets have a look at the [src](https://github.com/nostadt/php-share-url/tree/development/src)-directory.

Q/A
---

[](#qa)

**When should I use this package?**

Use this package if you want to generate urls, to share stringable content from your application and do not want additional JavaScript, cookies etc. placed on your application.

**Where is social network/messenger X?**

You are invited to create an issue or pull requests with your needs. When creating a pull request please have a look at the already existing code and don't forget to write a unit test.

Development
-----------

[](#development)

```
# composer
docker run --rm --interactive --tty --volume $PWD:/app composer install

# PHPUnit
docker run -it --rm --name php-share-url -v "$PWD":/app -w /app php:8.3-cli php vendor/bin/phpunit

# PHPStan
docker run -it --rm --name php-share-url -v "$PWD":/app -w /app php:8.3-cli php vendor/bin/phpstan
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance60

Regular maintenance activity

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~246 days

Total

4

Last Release

818d ago

Major Versions

0.0.0 → 1.0.02023-06-21

1.1.0 → 2.0.02024-02-17

PHP version history (2 changes)1.0.0PHP &gt;=8.0

2.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/e84cf73ac428629346ee2208c969be2f06a97722d966dcfc6658797f65d978c8?d=identicon)[nostadt](/maintainers/nostadt)

---

Top Contributors

[![nostadt](https://avatars.githubusercontent.com/u/5464339?v=4)](https://github.com/nostadt "nostadt (34 commits)")[![an-constructiva](https://avatars.githubusercontent.com/u/132894601?v=4)](https://github.com/an-constructiva "an-constructiva (1 commits)")

---

Tags

messengerphpsharesocial-networkssocial networksshare linkscookieless

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nostadt-share-url/health.svg)

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

###  Alternatives

[kevinsimard/laravel-cookieless-session

Laravel middleware to start a cookieless session

1417.0k](/packages/kevinsimard-laravel-cookieless-session)[typo3-contentblocks/contentblocks-reg-api

This API provides an easy and reliable way to register content blocks as standalone packages.

204.9k](/packages/typo3-contentblocks-contentblocks-reg-api)

PHPackages © 2026

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