Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Sharethis Widget

Sharethis Widget Laravel Package

friendsofvictoire/sharethis-widget

A Laravel package for quickly integrating ShareThis social sharing widgets into Blade views. Add configurable share buttons with minimal setup, making it easy for visitors to share your content across social networks.

View on GitHub
Deep Wiki
Context7

A lightweight Laravel package for adding ShareThis social sharing widgets to your application. It provides a reusable Blade integration, making it easy to drop share buttons into any view while keeping widget settings centralized.

  • Configurable widget options via a publishable config file
  • Clean Blade integration for reusable templates
  • Supports ShareThis script and style injection
  • Customizable button layout and display settings
  • Simple installation with Laravel auto-discovery
Frequently asked questions about Sharethis Widget
Is friendsofvictoire/sharethis-widget a Laravel package?
No. It is a Symfony bundle named WidgetShareThisBundle built for Victoire DCMS. It has no Laravel service provider, facade, config publish path, or Blade views, and its classes depend on Victoire kernel abstractions.
Can I install friendsofvictoire/sharethis-widget in a Laravel application?
You can require it with Composer, but it will not integrate with Laravel's container or rendering pipeline. The widget classes extend Victoire contracts and rely on Symfony service tags that Laravel does not understand. Installing it would only autoload classes that cannot be instantiated outside a Victoire kernel.
How do I add ShareThis social sharing buttons to a Laravel page?
Build a small class-based Blade component that renders the ShareThis script tag with your publisher property ID and the inline share-button markup. Put the property ID and display options in config/sharethis.php, then include the component in your Blade view. This is roughly 30 to 60 lines plus tests and consent gating, not a package port.
Does this package support Laravel 10 or Laravel 11?
No. The package has had no release since November 2016 and was built for PHP 5.6/7.0-era Symfony and Victoire. It declares no support for modern Laravel, PHP 8.x, or current Symfony versions. Using it in Laravel 10 or 11 is not a supported path.
How do I configure the ShareThis publisher key in this bundle?
In Victoire, configuration is handled through the bundle's Symfony DependencyInjection extension and Victoire widget settings, not through a Laravel config file. You would set the ShareThis property ID in the widget configuration when placing it on a page. There is no config publish command or config/sharethis.php equivalent.
Is friendsofvictoire/sharethis-widget maintained?
No. The last release was on 2016-11-16, leaving roughly nine years without maintenance. It has one star and zero dependents, so there is little downstream usage to surface bugs or security issues. Treat it as abandoned and do not adopt it for new work.
What is a good Laravel alternative to this ShareThis widget bundle?
A first-party Blade component is the most direct alternative, with a config entry for the ShareThis property ID and optional props for layout, networks, and enabled state. If you do not need ShareThis specifically, evaluate the native navigator.share API plus lightweight first-party share links. Both avoid importing an unmaintained Symfony bundle into Laravel.
Does this package handle GDPR or cookie consent for ShareThis?
No. The 2016-era bundle predates consent-mode integration and contains no gating logic. ShareThis loads third-party JavaScript that is ad-tech and tracking-adjacent, so under GDPR, UK GDPR, ePrivacy, and CCPA it should not load before consent. In Laravel you must defer script injection behind your consent management platform.
Can I use this bundle if I run Victoire CMS?
It is designed specifically for Victoire DCMS and should work within a compatible Victoire kernel, but the project is unmaintained and pins old Symfony and PHP constraints. Verify the bundle against your Victoire and Symfony versions before relying on it. If you are not running Victoire, the package is irrelevant to your stack.
How hard is it to reimplement this ShareThis widget in Laravel?
The functional payload is just a ShareThis script tag plus inline share-button markup, with no server-side logic, data model, queueing, or API client to port. A Laravel version is a Blade component and a config file, typically half a day to one day including tests, styling hooks, and consent gating. That is far cheaper than adopting nine years of unmaintained Symfony-specific code.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment