Hi, I just want to share this after I scratching my head for few hours. To integrate Laravel 5 with ckfinder authorization method (So far I only can get the solutions for Laravel 4 but get none for Laravel 5 from google.), simply add these code at the top of config.php
<?php
require $_SERVER['DOCUMENT_ROOT'].'/bootstrap/autoload.php';
$app = require_once $_SERVER['DOCUMENT_ROOT'].'/bootstrap/app.php';
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$kernel->terminate($request, $response);
If you got any better suggestion just drop your suggestion at below. Sharing is caring =)