atannex/share
atannex/share is a Laravel package for adding share functionality to your app. It offers a simple, framework-friendly way to generate and manage shareable links or social sharing actions, integrating cleanly with Laravel conventions.
data-share-* attributes, so "add sharing" becomes a near-zero-cost roadmap item rather than a platform engineering project. This directly supports decisions about referral links, invite flows, and organic reach on mobile.->file() support plus capability-gated native buttons turns sharing from "copy a URL" into "send the actual artifact" — a materially different product promise for tickets, invoices, receipts, exported reports, media, and generated documents. This is a scope decision worth making explicitly: do we share a pointer or the payload?data-share-open="sheet-id#section-id" deep-link means a share can land a recipient inside a specific sheet section. That supports decisions on whether shared destinations are generic landing pages or contextual entry points (support articles, onboarding steps, product detail) — which affects activation and support-deflection metrics.navigator.canShare({files}) checks, per-platform file-type and size variance, browser fallbacks, and rendering consistency in server-rendered Blade. Maintaining that matrix in-house is ongoing toil with no differentiation; consuming a maintained wrapper is the cheaper call.Adopt when most of these hold:
Look elsewhere when:
Practical adoption checks a PM should insist on:
For executives: This is a low-cost distribution lever. It lets users share our content — and now the actual files we generate — through the share sheet they already use, with no new vendor, no new infrastructure, and no additional security surface. The latest release is additive and non-breaking: file sharing and deep-linking to a specific section of a share, both of which extend the same primitive we already have rather than opening a new workstream. It's a candidate for a normal increment, not a dedicated project.
For engineering: It's a thin, opinionated wrapper over the Web Share API, driven by data-share-* attributes in Blade, with capability gating built in — buttons render only where the device can actually fulfill the share, including canShare({files}) for file payloads added via ->file(). v1.1.0 adds file payload support to native buttons and a "Share the file" action in the sheet, plus data-share-open="sheet-id#section-id" for open-and-scroll deep links. No front-end framework coupling, no migration, no breaking changes. The work on our side is the fallback path, the browser/device test matrix, and click-level instrumentation.
How can I help you explore Laravel packages today?