PHPackages                             wrav/simplesharing - 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. wrav/simplesharing

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

wrav/simplesharing
==================

Simple Sharing generates social media share links within CP entry pages, allowing you to quickly &amp; easily share entries.

3.0.1(2mo ago)818.8k9[2 issues](https://github.com/wrav/SimpleSharing/issues)MITPHPPHP ^8.2CI passing

Since Nov 14Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/wrav/SimpleSharing)[ Packagist](https://packagist.org/packages/wrav/simplesharing)[ RSS](/packages/wrav-simplesharing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (19)Used By (0)

Simple Sharing
==============

[](#simple-sharing)

[![Simple Sharing](resources/img/plugin-logo.png)](resources/img/plugin-logo.png)

Simple Sharing is a CraftCMS plugin that generates social media share links within the Craft CP page, allowing you to quickly and easily share entries.

Requirements
------------

[](#requirements)

VersionCraft CMSPHP^3.0.0^5.0.0^8.2^2.0.0^4.0.0^8.0.2^1.0.0^3.0.0^7.2.5If you are looking for CraftCMS 4.x support, use [Version 2.x](https://github.com/wrav/SimpleSharing/tree/v2)

If you are looking for CraftCMS 3.x support, use [Version 1.0.8](https://github.com/wrav/SimpleSharing/tree/1.0.8)

Installing
----------

[](#installing)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require wrav/simplesharing

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for SimpleSharing.

Usage
-----

[](#usage)

Your able to generate share links on the fly in a template as followed.

```
{{ craft.simpleSharing.link(url, 'facebook') }}
{{ craft.simpleSharing.link(url, 'twitter') }}
{{ craft.simpleSharing.link(url, 'linkedin') }}
{{ craft.simpleSharing.link(url, 'mix') }}
{{ craft.simpleSharing.link(url, 'tumblr') }}
{{ craft.simpleSharing.link(url, 'reddit') }}
```

Testing
-------

[](#testing)

The plugin includes a comprehensive test suite using Codeception with unit, integration, and functional tests.

### Running Tests

[](#running-tests)

Tests require Docker with PostgreSQL:

```
# Setup test environment
cp tests/.env.example tests/.env

# Start Docker containers
docker compose up -d

# Access app container
docker exec -it app sh

# Run all tests
vendor/bin/codecept run

# Run specific suites
vendor/bin/codecept run unit
vendor/bin/codecept run integration
vendor/bin/codecept run functional

# Run with coverage report
vendor/bin/codecept run --coverage
```

### Test Coverage

[](#test-coverage)

- **Unit Tests**: URL generation, input validation, platform support
- **Integration Tests**: Plugin installation, settings rendering, Craft integration
- **Functional Tests**: Template variable availability

Credits
-------

[](#credits)

Original built while at working at [HutSix](https://hutsix.com.au/) I've since been granted permission to continue development here.

Change Log
----------

[](#change-log)

Changes can be viewed [here](https://github.com/wrav/SimpleSharing/blob/master/CHANGELOG.md)

Become a Contributor
--------------------

[](#become-a-contributor)

Open-source projects like this one are looking for your help. Feel free to submit a PR or tackle an issue.

Support
-------

[](#support)

Get in touch via email or by [creating a Github issue](/wrav/SimpleSharing/issues)

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance81

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 80.4% 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 ~205 days

Recently: every ~487 days

Total

14

Last Release

68d ago

Major Versions

v1.x-dev → 2.0.02022-11-18

v2.x-dev → 3.0.02026-01-14

PHP version history (2 changes)2.0.0PHP &gt;=8.0.0

3.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![reganlawton](https://avatars.githubusercontent.com/u/2705875?v=4)](https://github.com/reganlawton "reganlawton (37 commits)")[![RickKukiela](https://avatars.githubusercontent.com/u/3813238?v=4)](https://github.com/RickKukiela "RickKukiela (4 commits)")[![johandouma](https://avatars.githubusercontent.com/u/9311?v=4)](https://github.com/johandouma "johandouma (3 commits)")[![lindseydiloreto](https://avatars.githubusercontent.com/u/5309692?v=4)](https://github.com/lindseydiloreto "lindseydiloreto (1 commits)")[![Siyabulela](https://avatars.githubusercontent.com/u/51851545?v=4)](https://github.com/Siyabulela "Siyabulela (1 commits)")

---

Tags

facebookinstagramcmstwittersocialCraftcraftcmscraft-pluginsharingsocial mediasimplesharing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wrav-simplesharing/health.svg)

```
[![Health](https://phpackages.com/badges/wrav-simplesharing/health.svg)](https://phpackages.com/packages/wrav-simplesharing)
```

###  Alternatives

[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)

PHPackages © 2026

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