PHP code example of codedor / filament-social-media-links

1. Go to this page and download the library: Download codedor/filament-social-media-links library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

codedor / filament-social-media-links example snippets


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',
    ],
];

<x-social-media-links::overview />
bash
php artisan vendor:publish --tag="filament-social-media-links-config"
bash
php artisan vendor:publish --tag="filament-social-media-links-views"