PHP code example of dxw / iguana-share

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

    

dxw / iguana-share example snippets


$registrar->addInstance(new \Dxw\Iguana\Theme\Helpers());
$registrar->addInstance(\Dxw\Iguana\Share\ShareButtons(
	$registrar->getInstance(\Dxw\Iguana\Theme\Helpers::class,
		[
			new Dxw\Iguana\Share\FacebookShareLink();
			new Dxw\Iguana\Share\LinkedInShareLink();
			new Dxw\Iguana\Share\TwitterShareLink();
		]
	)
))