PHP code example of yaro / soc-share

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

    

yaro / soc-share example snippets


'providers' => array(
//...
    Yaro\SocShare\ServiceProvider::class,
//...
),
'aliases' => array(
//...
    'SocShare' => Yaro\SocShare\Facade::class,
//...
),
shell
$ php artisan vendor:publish --provider="Yaro\SocShare\ServiceProvider"