code: public function compose(View $view)
      {
          $app = app();
  
          $view->with('application', [
              'url'                 => config('app.url'),
              'locale'              => strtoupper(config('app.locale')),
              'timezone'            => config('app.timezone'),
              'debug_mode'          => config('app.debug', false),
              'maintenance_mode'    => $app->isDownForMaintenance(),
              'arcanesoft_version'  => foundation()->version(),
              'laravel_version'     => $app->version(),
              'app_size'            => $this->getApplicationSize(),
              'database_connection' => config('database.default'),
              'cache_driver'        => config('cache.default'),
              'session_driver'      => config('session.driver')
          ]);
      }
docs: Compose the view.
  
  @param  \Illuminate\View\View  $view