Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Share Laravel Package

jorenvanhocht/laravel-share

Laravel Share is a package for generating social media share links in Laravel applications. It provides a simple API to create share URLs for Facebook, Twitter, LinkedIn, Reddit, WhatsApp, and more, with support for custom URLs, titles, and images.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Social distribution surface: build vs. buy vs. third-party widget. This package settles the "how do users share our content" question for Laravel-rendered pages (marketing pages, blog posts, changelogs, launch pages, docs) without an AddThis/ShareThis-style JavaScript embed. The PM decision it unlocks is URL intents vs. tracked share widgets — intents are zero-JS, no API keys, no third-party cookies, which removes a consent-banner and privacy-review dependency from the roadmap.
  • Scope containment for growth/virality work. Share buttons are a recurring "nice to have" in every content or launch feature spec. Sizing it as a one-day Blade integration instead of a two-sprint "social sharing service" keeps roadmap capacity on acquisition/retention bets that actually move metrics.
  • Feature-level decisions it supports: adding share affordances to article/blog detail templates; per-platform selection (LinkedIn for B2B content, WhatsApp/Telegram for regional or community-led growth, Facebook for consumer); placement experiments (inline vs. sticky vs. post-article); pre-filled share copy and UTM-tagged URLs, which is the difference between share traffic being attributable or invisible in analytics.
  • Roadmap sequencing: it is a fast-follow item, not a differentiator. It should be scheduled as a low-cost polish task once content pages exist, not as a standalone initiative.
  • Dependency governance decision: at 532 stars, zero dependents, and a last release in February 2022, the realistic decision is vendoring/forking rather than depending — wrap it behind an internal share-link helper so the platform URL schemas and the package itself are independently swappable. That is a build-vs-buy call worth recording, not deferring to whoever writes the PR.

When to Consider This Package

Adopt (or fork) when:

  • The application is Laravel-rendered and on a framework version the package actually supports (verify illuminate/support constraints against your Laravel version — a 2022 release will not officially cover Laravel 10/11).
  • The requirement is genuinely links only: click a button, open a platform's share dialog, done.
  • You want no third-party scripts, no tracking pixels, and no consent-management entanglement — a real advantage for privacy-sensitive or regulated products.
  • Engineering cost matters more than longevity: a small MIT package with a readable Blade component beats a bespoke implementation for a two-week-old feature.

Look elsewhere (or build ~200 lines in-house) when:

  • You need share counts, share events, or attribution — this package gives you none of that; pair it with your own UTM/analytics instrumentation or use a platform API.
  • You need current platform coverage — X/Twitter rebranding, Threads, Bluesky, Mastodon, and shifting share endpoints are exactly the maintenance this package has not had since 2022.
  • You are on a recent Laravel version or have SBOM/dependency-review gates that reject unmaintained packages.
  • You need design-system-conformant components, native mobile sharing, or server-side rendering of share cards/OG images.
  • Your content is behind auth or paywalled, where share intents need signed or canonical URLs the package won't construct for you.

How to Pitch It (Stakeholders)

To executives (30 seconds): "Users sharing our content is free distribution, and today we have no share affordance on our article and launch pages. This is a small, MIT-licensed Laravel package that generates the standard share links in an afternoon of work — no vendor contract, no third-party tracking script, no cookie-consent or privacy review. It's low-cost polish that makes our content pages complete and gives us share traffic we can attribute with tagged URLs. I'd fund it as a half-day task, not a project."

To engineering: "Treat it as a reference implementation, not a dependency. Vendor the small Blade component into our codebase, wrap it in an internal ShareLinks helper with our own tests, and pin the platform URL schemas we care about. The package hasn't shipped since Feb 2022 and has essentially no downstream usage, so assume we own it from day one. That also means we control Laravel-version compatibility, the brand copy, and UTM parameterization, and we can add Threads/Bluesky ourselves without waiting on an upstream release."

Risks to name explicitly: unmaintained upstream; platform share endpoints drift; no analytics out of the box; official support stops around Laravel 8/9. All are mitigable by forking — which is the recommendation — but they should be stated, not discovered later.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource