PHP code example of youkoulayley / laravel-phpbb-bridge
1. Go to this page and download the library: Download youkoulayley/laravel-phpbb-bridge 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/ */
youkoulayley / laravel-phpbb-bridge example snippets
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
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.