PHPackages                             pixelshelsinki/social-share - 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. pixelshelsinki/social-share

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pixelshelsinki/social-share
===========================

Social Share component for WordPress

v1.1.0(5y ago)017.3k↓31.6%MITPHP

Since Jan 27Pushed 5y agoCompare

[ Source](https://github.com/pixelshelsinki/pixels-social-share)[ Packagist](https://packagist.org/packages/pixelshelsinki/social-share)[ RSS](/packages/pixelshelsinki-social-share/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Pixels Social Share
===================

[](#pixels-social-share)

Social Share component for WordPress.

- Generate share url for most common social media platforms
- Either share current url, or given url

Install
=======

[](#install)

`composer require pixelshelsinki/social-share`

Usage
=====

[](#usage)

Pixels Social Share exposes a main "Share" class with methods for each social media platform. Either call them directly in PHP, or hook them up as Twig functions when working with Timber.

### Using with PHP

[](#using-with-php)

```
