assetHashService = $assetHashService; } /** * Provide access to the asset service in the views. */ public function compose(View $view) { $view->with('asset', $this->assetHashService); $view->with('siteConfiguration', [ 'name' => config('app.name') ?? 'Pterodactyl', 'locale' => config('app.locale') ?? 'en', 'recaptcha' => [ 'enabled' => config('recaptcha.enabled', false), 'siteKey' => config('recaptcha.website_key') ?? '', ], 'analytics' => config('app.analytics') ?? '', ]); } }