davidbehler / social

HybridAuth Bundle for Symfony Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Social bundle for Symfony by ITLized

Installation:

Add bundle to your composer.json file

// composer.json

{
    "require": {
		// ...
        "itlized/social": "~2.1"
    }
}

Download the bundle using Composer

$ php composer.phar update itlized/social

Add bundle to your application kernel

// app/AppKernel.php

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

Add routing.yml from the bundle to your app

// app/config/routing.yml

itlized_social:
    resource: "@ItlizedSocialBundle/Resources/config/routing.yml"
    prefix:   /

Config bundle parameters for your app

// app/config/config.yml

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

Links

About

HybridAuth Bundle for Symfony Framework


Languages

Language:PHP 100.0%