В вашем контроллере используйте:
elseif ($profile_is_exsit > '0')
{
$url = DB::table('marriage_bureau')->select('title','custom_id')->where('user_id',$user_id)->first();
$title = $url->title;
$custom_id = $url->custom_id;
return redirect()->route('your-route-name', ['title' => $title, 'custom_id' => $custom_id]);
}
В вашем маршруте используйте:
Route::get('marriage-bureau/{title}/{id}',
[
'uses'=>'marriage_bureau\ViewMarriageBureauController@index',
'as'=>'your-route-name',
]
);