Package to manage social media links using our Settings package and display them in the front-end using blade components.
You can install the package via composer:
composer require codedor/filament-social-media-links
You can publish the config file with:
php artisan vendor:publish --tag="filament-social-media-links-config"
This is the contents of the published config file:
return [
'platforms' => [
'facebook' => 'fab fa-facebook',
'instagram' => 'fab fa-instagram',
'twitter' => 'fab fa-twitter',
'linkedIn' => 'fab fa-linkedin',
'pinterest' => 'fab fa-pinterest',
'youtube' => 'fab fa-youtube',
'vimeo' => 'fab fa-vimeo',
'github' => 'fab fa-github',
'tripAdvisor' => 'fab fa-tripadvisor',
'skype' => 'fab fa-skype',
'tiktok' => 'fab fa-tiktok',
],
'formatter-formats' => [
],
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-social-media-links-views"
<x-social-media-links::overview />
If you want to render with icons only, pass the show-icon
attribute.
<x-social-media-links::overview show-icon />