2017 © Pedro Peláez
 

library lara-auth-bridge

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

image

callmenp/lara-auth-bridge

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

  • Tuesday, October 6, 2015
  • by CallMeNP
  • Repository
  • 7 Watchers
  • 18 Stars
  • 894 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 4 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

This package is unmaintained., (*1)

I do not intend to continue development on this project due to changing priorities at my day job. I'll keep the repo up in case it is still useful to anyone., (*2)

Thanks @Bukashk0zzz, (*3)

Allows phpBB (3.0 & 3.1) auth over Laravel 5

For Laravel 4.* see r-a-stone's work Auth driver to create/authenticate accounts., (*4)

Latest Stable Version Total Downloads License, (*5)

Installation

Laravel

run composer

``` php composer require callmenp/lara-auth-bridge, (*6)

##### add service provider
Register the Service Provider by adding it to your project's providers array in app.php
``` php
'providers' => array(
    'CallMeNP\LaraAuthBridge\LaraAuthBridgeServiceProvider',
);
edit config

Change configs config/lara-auth-bridge.php ``` php // Create a secret app key in 'appkey' => 'yoursecretapikey', (*7)

// Update the column names used for the Laravel Auth driver 'username_column' => 'user_login', 'password_column' => 'user_password', (*8)

// Set true if you use multiAuth, false if default Laravel Auth 'client_auth' => false, (*9)

##### exclude URIs from CSRF protection
In file app/Http/Middleware/VerifyCsrfToken.php add
``` php
protected $except = [
            'auth-bridge/*',
        ];

More info how to exclude uris on laravel site, (*10)

phpBB 3.1

copy files

Copy all files in the phpBB 3.1 directory to your phpBB install, (*11)

edit config

Edit the file located at {PHPBB-ROOT}/ext/laravel/bridgebb/auth/provider/bridgebb.php php define('LARAVEL_URL', 'http://www.example.com'); //your laravel application's url define('BRIDGEBB_API_KEY', "yoursecretapikey"); //the same key you created earlier define ('LARAVEL_CUSTOM_USER_DATA', serialize ([ 'email' => 'user_email', 'dob' => 'user_birthday', ])); // Update the columns you want to come from Laravel user to phpBB user, (*12)

setting

Login to the phpBB admin panel enable bridgebb extension and after set bridgebb as the authentication module, (*13)

The Versions

06/10 2015

dev-master

9999999-dev

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

  Sources   Download

MIT

The Requires

 

by Avatar CallMeNP

laravel laravel5 bridge phpbb phpbb3

26/09 2015

v2.1.0

2.1.0.0

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

  Sources   Download

MIT

The Requires

 

by Avatar CallMeNP

laravel laravel5 bridge phpbb phpbb3

25/09 2015

dev-phpBB-3.0

dev-phpBB-3.0

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

  Sources   Download

MIT

The Requires

 

by Avatar CallMeNP

laravel laravel5 bridge phpbb phpbb3

25/09 2015

v2.0.1

2.0.1.0

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

  Sources   Download

MIT

The Requires

 

by Avatar CallMeNP

laravel laravel5 bridge phpbb phpbb3

22/09 2015

v2.0.0

2.0.0.0

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

  Sources   Download

MIT

The Requires

 

by Avatar CallMeNP

laravel laravel5 bridge phpbb phpbb3

18/06 2015

v1.0.0

1.0.0.0

Offers a simple API for the included custom phpBB authentication module.

  Sources   Download

MIT

The Requires

 

by Avatar CallMeNP

laravel laravel5 bridge phpbb phpbb3