PHP code example of itlized / social

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

    

itlized / social example snippets

 bash
$ php composer.phar update itlized/social
 php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Itlized\Bundle\SocialBundle\ItlizedSocialBundle(),
        // ...
    );
}
 php
// app/config/config.yml

parameters:
    itlized_social:
        routing: itlized_social_endpoint
        providers:
            Facebook:
                enabled: true
                keys:
                    id: xxx61753xxx
                    secret: xxxfb1578dbb194dxxx