For many years, I’ve had full phpBB session integration on my site using this simple PHP snippet:
define('IN_PHPBB', true);
$phpbb_root_path = ROOT_PATH . 'forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
$user->session_begin()...