PHPackages                             elephpant/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. elephpant/social-share

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

elephpant/social-share
======================

A simple way to generate social share links.

2.0.1(2y ago)7247MITPHPPHP ^8.2

Since Sep 4Pushed 2y ago3 watchersCompare

[ Source](https://github.com/wilderamorim/social-share)[ Packagist](https://packagist.org/packages/elephpant/social-share)[ Docs](https://www.uebi.com.br)[ RSS](/packages/elephpant-social-share/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

SocialShare @ElePHPant
======================

[](#socialshare-elephpant)

[![Maintainer](https://camo.githubusercontent.com/ec436302adeae215d147aa3b880918187a130e244706f9bdf8995e8856c56b2d/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4077696c646572616d6f72696d2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/WilderAmorim)[![Source Code](https://camo.githubusercontent.com/4f3f5cf79f3ea8cd2aa724c5df43a07629c0d70b3806a9306167defa6da41bba/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d77696c646572616d6f72696d2f736f6369616c2d73686172652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/wilderamorim/social-share)[![PHP from Packagist](https://camo.githubusercontent.com/c5b5e2b5f5b43635ea2af5d154483e244607d0a2e9610925d5697025e0616ac9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f656c65706870616e742f736f6369616c2d73686172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/social-share)[![Latest Version](https://camo.githubusercontent.com/1bd99fb9b0481db83b7416dab8eb975506ef150c29aae80906c2f939f291ef46/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f77696c646572616d6f72696d2f736f6369616c2d73686172652e7376673f7374796c653d666c61742d737175617265)](https://github.com/wilderamorim/social-share/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/3b9bcd1cd5055a329ead0eaf2ce52c7b7db2135c4fa2be0a471c887f94be5802/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f77696c646572616d6f72696d2f736f6369616c2d73686172652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/wilderamorim/social-share)[![Quality Score](https://camo.githubusercontent.com/4d39d0fe439dd8ff7c961e086d377ec2ccff5daa5ebbabc9e359c003749b655c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f77696c646572616d6f72696d2f736f6369616c2d73686172652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/wilderamorim/social-share)[![Total Downloads](https://camo.githubusercontent.com/cfefd47203533abe49c7a2dc78f5f126aefe0536689cd8325c7e502e1eb545f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c65706870616e742f736f6369616c2d73686172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/social-share)

###### A simple way to generate social share links.

[](#a-simple-way-to-generate-social-share-links)

Um jeito simples de gerar links de compartilhamento social.

### Highlights

[](#highlights)

- Simple installation (Instalação simples)
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)

### Available services

[](#available-services)

- Facebook
- Twitter
- LinkedIn
- Pinterest
- WhatsApp
- Telegram
- Reddit
- Email

Installation
------------

[](#installation)

SocialShare is available via Composer:

```
"elephpant/social-share": "2.0.*"
```

or run

```
composer require elephpant/social-share
```

Documentation
-------------

[](#documentation)

###### For details on how to use, see a sample folder in the component directory. In it you will have an example of using the class. It works like this:

[](#for-details-on-how-to-use-see-a-sample-folder-in-the-component-directory-in-it-you-will-have-an-example-of-using-the-class-it-works-like-this)

Para mais detalhes sobre como usar, veja uma pasta de exemplo no diretório do componente. Nela terá um exemplo de uso da classe. Ele funciona assim:

##### Basic Usage:

[](#basic-usage)

```
