Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Allows the laravel 4 developer to edit/create phpbb3 forum accounts and their group memberships.

Notifications You must be signed in to change notification settings

r-a-stone/Laravel-Auth-Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BridgeBB

Allows phpBB3.0 to use the Laravel4 Auth driver to create/authenticate accounts.

###Installation:

####Add to your composer.json

"require": {
    "webcode/phpbb-bridge": "1.0.*@dev"
}

####Run composer update

$ composer update

####Register the BridgeBB Service Provider by adding it to your project's providers array in app.php

'providers' => array(
    'Webcode\BridgeBB\BridgeBBServiceProvider'
);

####Create a secret api key in config/webcode/bridgebb/api.php

'bridgebb-apikey' => 'yoursecretapikey'

####Update the column names used for the Laravel Auth driver config/webcode/bridgebb/api.php

'username-column' => 'user_login',
'password-column' => 'user_password'

####Copy all files in the phpbb_root directory to your phpBB install

####Edit the file located at {PHPBB-ROOT}/includes/auth/auth_bridgebb.php

define('LARAVEL_URL', 'http://www.example.com/'); //your laravel application's url
define('BRIDGEBB_API_KEY', "yoursecretapikey"); //the same key you created earlier

####Login to the phpBB admin panel and set bridgebb as the authentication module

Now all logins will be checked against the Laravel Auth driver. If the user is validated against the Laravel Auth driver phpBB will check if the account exists in its own database. If the user is validated but the account does not exist in the phpBB database the login information will be duplicated in the database.

This should leave you in a better situation than bridgeBB has left people in the past.

If bridgeBB breaks and I am too busy to fix it in a timely manner you have the option to switch to the default phpBB auth driver as all the logins will already exist.

I welcome any and all pull requests!

About

Allows the laravel 4 developer to edit/create phpbb3 forum accounts and their group memberships.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages