PHP code example of getdevflow / social-share

1. Go to this page and download the library: Download getdevflow/social-share 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/ */

    

getdevflow / social-share example snippets

 codex plugin:install getdevflow/social-share

use Plugin\SocialShare\Support\SocialShareTemplate;

echo SocialShareTemplate::tag([
    'placement' => 'standard',
    'url' => site_url('/custom-url'),
    'title' => 'Custom Share Title',
]);