This project is not covered by Drupal’s security advisory policy.

Share Anywhere is a DRUPAL module that provides a reusable and extensible way to add social sharing links to a site.

The module is designed for site builders and developers who want to integrate sharing functionality into content, blocks, or custom templates without enforcing a specific UI or workflow.

It is inspired by Share Everywhere and is partially based on its code. Since the original project no longer worked correctly with version 3.0.0 and has not seen a release for nearly two years, this module was created as a maintained successor with support for fully configurable share links instead of a limited predefined set.

Share Anywhere includes standard share links and integrates with DRUPAL’s render system. It can be adapted to different use cases and project requirements.

Features

- Provides share links for common social platforms
- Can be used with content entities, blocks, and custom render arrays
- Flexible integration via field formatters, blocks, or Twig templates
- Extensible architecture for adding or modifying share targets
- No predefined markup or frontend framework enforced

Typical use cases:
- Adding share links to editorial content
- Reusing a single sharing implementation across different layouts
- Integrating sharing into custom components or design systems
- Projects that require full control over markup and theming

Post-Installation

After enabling the module:
- A configuration page is available under the administration interface
- Share targets and basic defaults can be configured globally
- The module does not create content types or fields automatically

Share Anywhere can then be integrated via:
- A provided block
- Field formatter configuration
- Direct usage in Twig templates or custom code

No changes to text formats or editor configuration are required.

Additional Requirements

- DRUPAL core only
- No mandatory external modules, libraries, or APIs at the moment

Similar projects

- AddToAny
- ShareThis

Supporting this Module

Support is welcome through issue reports, patches, code reviews, and documentation contributions on drupal.org.

Community Documentation

Additional documentation and examples will be added on the project page and as the module evolves.

Supporting organizations: 
synflag sponsored the development of this module

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Import and export, Integrations
  • Created by synflag on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases