defectivecode / link-sharer
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:laravel
Requires
- php: >=8.2
Requires (Dev)
- laravel/pint: ^1.8
- nunomaduro/collision: ^7.0
- orchestra/testbench: ^8.3
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2024-12-04 13:43:56 UTC
README
English | العربية | বাংলা | Bosanski | Deutsch | Español | Français | हिन्दी | Italiano | 日本語 | 한국어 | मराठी | Português | Русский | Kiswahili | தமிழ் | తెలుగు | Türkçe | اردو | Tiếng Việt | 中文
Introduction
This package simplifies the process of adding share links to your Laravel application. Feel free to open a pull request if you notice we are missing a service!
A share link is a URL combining a social media base URL with query parameters for sharing content from your website or app. Parameters usually include the content URL and a preset message. These links, as shown in examples, let users easily share posts on platforms like Twitter, Facebook, and Telegram. Use this open-source package to quickly create share links via Laravel's blade component system.
Example
<x-link-sharer service="twitter" text="Share me!" url="https://www.defectivecode.com" hashtags="awesome,links" class="p-4"> <!-- Your HTML code here to control the look and feel of the share button --> <span class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Click me!</span> </x-link-sharer>
Documentation
You may read the documentation on our website.
License
The MIT License (MIT). Please see License File for more information.