Weave Code
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
Laravel Sharekit

Laravel Sharekit Laravel Package

nasirkhan/laravel-sharekit

View on GitHub
Deep Wiki
Context7

Laravel Sharekit provides reusable Blade-powered social sharing buttons for Laravel applications.

Frequently asked questions about Laravel Sharekit
Can I use Laravel ShareKit with Inertia.js or Livewire for frontend rendering?
Laravel ShareKit is Blade-focused, so direct integration with Inertia.js or Livewire requires wrapping the Blade components or exposing share data via API endpoints. You’d need to manually render the buttons in your frontend framework using the package’s config or generated URLs.
What Laravel versions does this package support?
The package likely targets Laravel 8+ based on typical modern releases, but always check the `composer.json` constraints. Verify compatibility with your PHP version (e.g., PHP 8.1+) if using newer Laravel features like named arguments or attributes.
How do I install and configure Laravel ShareKit in my project?
Run `composer require nasirkhan/laravel-sharekit`, then publish the config with `php artisan vendor:publish --tag=sharekit-config`. Add `@sharekit` directives to your Blade templates, passing required params like `url` and `title`. Customize buttons via the `sharekit.php` config file.
Does Laravel ShareKit support dynamic share counts or analytics?
No, this package provides static social sharing buttons without built-in analytics or real-time metrics. For tracking, you’d need to integrate third-party tools like Google Analytics or manually implement click tracking via JavaScript.
Will this package break if social platforms (e.g., Twitter, Facebook) change their APIs?
Since the package relies on static URLs or legacy ShareKit.js (if applicable), API changes by social platforms could break functionality. Monitor updates and consider adding fallback buttons or custom logic for critical platforms.
Is Laravel ShareKit secure for sharing sensitive URLs (e.g., auth-protected pages)?
Static share URLs generated by the package may expose sensitive data if not sanitized. Always validate and sanitize URLs before passing them to `@sharekit`. For protected content, use Laravel’s auth middleware or generate temporary, signed URLs.
Can I customize the appearance of the sharing buttons beyond the default styles?
Yes, the package includes a `sharekit.php` config file where you can adjust button styling, positioning, and platform-specific options. Override CSS classes or use inline styles in Blade templates for further customization.
What if my app uses React/Vue.js instead of Blade—are there alternatives?
For SPAs, use the package’s config to generate share URLs via API endpoints (e.g., `/api/share`), then implement custom buttons in React/Vue. Alternatively, consider packages like `laravel-share-buttons` or `socialshareprivacy` for frontend-friendly solutions.
How do I handle unsupported social platforms or fallback options?
The package may include a `fallback()` method for unsupported platforms. Check the docs or source code for usage. For custom fallbacks, manually render buttons or redirect users to a generic share page.
Is this package actively maintained? How can I check its reliability?
The package has a low GitHub star count (2) and no visible repo link, raising maintenance concerns. Verify the last release date isn’t a placeholder (e.g., via Packagist or Packagephobia). Test thoroughly in staging and monitor for updates post-integration.
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle