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

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

mrshanebarron/share
===================

Social share buttons for Laravel - supports Livewire and Vue

v1.0.4(6mo ago)013MITBladePHP ^8.1

Since Dec 14Pushed 6mo agoCompare

[ Source](https://github.com/mrshanebarron/share)[ Packagist](https://packagist.org/packages/mrshanebarron/share)[ RSS](/packages/mrshanebarron-share/feed)WikiDiscussions main Synced today

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

Share
=====

[](#share)

Social sharing buttons for Laravel applications. Supports Twitter, Facebook, LinkedIn, Email, WhatsApp, and Telegram. Works with Livewire and Vue 3.

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

[](#installation)

```
composer require mrshanebarron/share
```

Livewire Usage
--------------

[](#livewire-usage)

### Basic Usage

[](#basic-usage)

```

```

### Custom Networks

[](#custom-networks)

```

```

### With Description Text

[](#with-description-text)

```

```

### Sizes

[](#sizes)

```

```

### Styles

[](#styles)

```

```

### Livewire Props

[](#livewire-props)

PropTypeDefaultDescription`url`stringcurrent URLURL to share`title`string`''`Share title/headline`text`string`''`Share description text`networks`array`['twitter', 'facebook', 'linkedin', 'email']`Networks to display`size`string`'md'`Size: `sm`, `md`, `lg``style`string`'buttons'`Display style: `buttons`, `icons`, `compact`### Available Networks

[](#available-networks)

- `twitter` - Twitter/X
- `facebook` - Facebook
- `linkedin` - LinkedIn
- `email` - Email (mailto:)
- `whatsapp` - WhatsApp
- `telegram` - Telegram

Vue 3 Usage
-----------

[](#vue-3-usage)

### Setup

[](#setup)

```
import { SbShare } from './vendor/sb-share';
app.component('SbShare', SbShare);
```

### Basic Usage

[](#basic-usage-1)

```

```

### Custom Configuration

[](#custom-configuration)

```

```

### Vue Props

[](#vue-props)

PropTypeDefaultDescription`url`String`window.location.href`URL to share`title`String`''`Share title`text`String`''`Share description`networks`Array`['twitter', 'facebook', 'linkedin', 'email']`Networks`size`String`'md'`Button size`style`String`'buttons'`Display styleEvents
------

[](#events)

### Livewire

[](#livewire)

```

```

### Vue

[](#vue)

```

```

The event includes the network name that was clicked.

Styling
-------

[](#styling)

Each social network has its brand color:

- **Twitter**: Blue (#1DA1F2)
- **Facebook**: Blue (#1877F2)
- **LinkedIn**: Blue (#0A66C2)
- **WhatsApp**: Green (#25D366)
- **Telegram**: Blue (#0088CC)
- **Email**: Gray

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

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x

License
-------

[](#license)

MIT License

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance67

Regular maintenance activity

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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 ~0 days

Total

4

Last Release

199d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/193358540?v=4)[Mr Shane Barron](/maintainers/mrshanebarron)[@mrshanebarron](https://github.com/mrshanebarron)

### Embed Badge

![Health badge](/badges/mrshanebarron-share/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M375](/packages/illuminate-redis)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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