public static function middleware(App $app) { $app->middleware('config', function (Response $response) { $response['config'] = Config::get_all(); }); }