chencha/share
Chencha Share is a Laravel package for adding social media share links to your app. Generate share URLs for Facebook, X/Twitter, LinkedIn, WhatsApp, Telegram, Reddit, and more via a simple facade, with customizable titles and Blade-friendly output.
wa.me / t.me patterns plus text and URL params saves the fiddly parts and the QA cycles on mobile deep links.Consider it when:
ShareService / presenter interface so a swap or a fork costs hours, not a sprint.Look elsewhere or build in-house when:
@laravel-shift automated-compatibility PR — evidence of tooling keeping the package buildable, not of active stewardship. Dependent count remains effectively zero. That is not disqualifying for a small utility, but it means you are the maintainer in practice. Note what the release does and does not tell you: it confirms Laravel 9, and says nothing about Laravel 10/11/12 or PHP 8.2+. Verify those yourself before promising a timeline; do not assume them from the README or from this changelog.Adoption gate (recommended, cheap): a half-day spike on a branch — install, enumerate supported networks against the audience list, confirm Laravel/PHP version support (6.1.0 certifies Laravel 9 only; test your actual target), check output escaping of user-supplied titles/URLs, and write the wrapper interface. If the spike exceeds a day, fall back to the ~100-line in-house implementation.
For executives: This is a small, free (MIT), single-purpose library that lets us add "share this" buttons across the product in roughly one to two days of engineering instead of a week. It supports a low-cost acquisition and referral channel — content and product pages become distribution surfaces at near-zero marginal cost. It is commodity plumbing, not a moat, and it does not by itself produce rich link previews or share analytics; those are separate, and I am scoping them separately. Risk is contained: the code is small, permissively licensed, and we will wrap it so it can be replaced or forked in hours. A new release landed (6.1.0), but it is a Laravel 9 compatibility fix generated by an automated tool — it keeps the package installable without changing the ownership picture. Recommendation: adopt behind an internal abstraction, with a one-day verification spike; do not build a roadmap commitment around it.
For engineering: Treat it as a convenience wrapper, not infrastructure. Isolate it behind our own share-URL service so views never call the package directly. Budget for verification rather than trust: the only release since March 2022 is 6.1.0, an automated Laravel 9.x compatibility PR from @laravel-shift, and there are no meaningful dependents — so assume no upstream fixes and confirm framework/PHP compatibility (especially Laravel 10/11/12 and PHP 8.2+) and output escaping yourself. Read the changelog narrowly: it does not add features, does not fix bugs, and does not assert support beyond Laravel 9. Keep a fallback of ~100 lines of URL-building code in our own repo if the spike turns up gaps in network coverage or version support. Do not extend the fork unless we intend to own it — and if we do, assign an owner and a review cadence, because a dependency whose last three years of upkeep amount to one bot-authored PR is exactly the kind of thing that silently blocks a framework upgrade eighteen months from now.
Decision framing: Adopt if (a) the spike passes on our actual Laravel/PHP version, (b) network coverage matches our audience, and (c) we accept ownership of a fork. Otherwise build the trivial in-house version — the honest comparison is one to two days of integration versus a few hours of writing it ourselves, weighed against the future cost of a dependency that is maintained by automation rather than by people.
How can I help you explore Laravel packages today?