runningInConsole()) { $appInfos = Cache::remember('composer', 360, function () { return json_decode(File::get(\app_path('../composer.json'))); }); View::share('name', $appInfos->name); View::share('version', $appInfos->version); View::share('license', $appInfos->license); // * Groups View::share('markerLabels', Cache::rememberForever('markerLabels', function () { return Marker::getCachedLabels() ?? []; })); }//end if } }