PHP code example of gzero / vanilla-integration

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

    

gzero / vanilla-integration example snippets


'Gzero\Vanilla\ServiceProvider'

return [
    'forum_domain' => 'vanilla.dev',
    'sso'          => 'http://vanilla.dev/sso',
    'client_id'    => 'your_vanilla_client_id',
    'secret'       => 'your_vanilla_secret',
];
 

 http://dev.gzero.pl/_hidden/vanilla-sso
 

URL::to(forum_url());
return Redirect::to(forum_url());
return Redirect::to(forum_url('categories'));
 

php artisan config:publish gzero/vanilla-integration