PHP code example of wandi / oauth-bundle

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

    

wandi / oauth-bundle example snippets


    new \Wandi\OAuthBundle\WandiOAuthBundle(),

    $service = $this->container->get('wandi_oauth.service.xing');

    fancy_company.random_namespace.wayne_bundle:
        class: FancyCompany\Bundle\WayneBundle\MyCool\ClassFor\WorldDominance
        arguments:
            - "@wandi_oauth.service.xing"
app/AppKernel.php