private function askInstallingQuestions()
    {
        // Database information
        $this->DB_TYPE = $this->ask('Your Database type', config('database.default'));
        $this->DB_HOST = $this->ask('Your DB_HOST', config('database.connections.'.$this->DB_TYPE.'.host'));
        $this->DB_PORT = $this->ask('Your DB PORT', config('database.connections.'.$this->DB_TYPE.'.port'));
        $this->DB_DATABASE = $this->ask('Your Database Name', config('database.connections.'.$this->DB_TYPE.'.database'));
        $this->DB_USERNAME = $this->ask('Your DB Username', config('database.connections.'.$this->DB_TYPE.'.username'));
        $this->DB_PASSWORD = $this->secret('Your DB Password');

        // Validate Database
        $this->validateDatabase();

        $this->APP_NAME = $this->ask('Your Site Name', config('app.name'));
        $this->APP_URL = $this->ask('Your App URL', config('app.url'));

        // Timezone
        $regions = $this->getTimezoneRegions();
        $this->TIMEZONE = $this->choice('Timezone region', array_keys($regions), 0);
        if ($this->TIMEZONE !== 'UTC') {
            $locations = $this->getTimezoneLocations($regions[$this->TIMEZONE]);
            $this->TIMEZONE .= '/' . $this->choice('Timezone location', $locations, 0);
        }

        $this->askAboutDefaultLanguage();

        // User information
        $this->ADMIN_FIRST_NAME = $this->ask('Your First Name');
        $this->ADMIN_LAST_NAME = $this->ask('Your Last Name');
        $this->ADMIN_EMAIL = $this->ask('Your Email');
        $this->ADMIN_PASSWORD = $this->ask('Set Your Admin Password');

        return $this;
    }
private function askInstallingQuestions()
    {
        // Database information
        $this->DB_TYPE = $this->ask('Your Database type', config('database.default'));
        $this->DB_HOST = $this->ask('Your DB_HOST', config('database.connections.'.$this->DB_TYPE.'.host'));
        $this->DB_PORT = $this->ask('Your DB PORT', config('database.connections.'.$this->DB_TYPE.'.port'));
        $this->DB_DATABASE = $this->ask('Your Database Name', config('database.connections.'.$this->DB_TYPE.'.database'));
        $this->DB_USERNAME = $this->ask('Your DB Username', config('database.connections.'.$this->DB_TYPE.'.username'));
        $this->DB_PASSWORD = $this->secret('Your DB Password');

        // Validate Database
        $this->validateDatabase();

        $this->APP_NAME = $this->ask('Your Site Name', config('app.name'));
        $this->APP_URL = $this->ask('Your App URL', config('app.url'));

        // Timezone
        $regions = $this->getTimezoneRegions();
        $this->TIMEZONE = $this->choice('Timezone region', array_keys($regions), 0);
        if ($this->TIMEZONE !== 'UTC') {
            $locations = $this->getTimezoneLocations($regions[$this->TIMEZONE]);
            $this->TIMEZONE .= '/' . $this->choice('Timezone location', $locations, 0);
        }

        $this->askAboutDefaultLanguage();

        // User information
        $this->ADMIN_FIRST_NAME = $this->ask('Your First Name');
        $this->ADMIN_LAST_NAME = $this->ask('Your Last Name');
        $this->ADMIN_EMAIL = $this->ask('Your Email');
        $this->ADMIN_PASSWORD = $this->ask('Set Your Admin Password');

        return $this;
    }
private function askInstallingQuestions ( ) { // Database information $ this -> DB_TYPE = $ this -> ask ( 'Your Database type' , config ( 'database.default' ) ) ; $ this -> DB_HOST = $ this -> ask ( 'Your DB_HOST' , config ( 'database.connections.' . $ this -> DB_TYPE . '.host' ) ) ; $ this -> DB_PORT = $ this -> ask ( 'Your DB PORT' , config ( 'database.connections.' . $ this -> DB_TYPE . '.port' ) ) ; $ this -> DB_DATABASE = $ this -> ask ( 'Your Database Name' , config ( 'database.connections.' . $ this -> DB_TYPE . '.database' ) ) ; $ this -> DB_USERNAME = $ this -> ask ( 'Your DB Username' , config ( 'database.connections.' . $ this -> DB_TYPE . '.username' ) ) ; $ this -> DB_PASSWORD = $ this -> secret ( 'Your DB Password' ) ; // Validate Database $ this -> validateDatabase ( ) ; $ this -> APP_NAME = $ this -> ask ( 'Your Site Name' , config ( 'app.name' ) ) ; $ this -> APP_URL = $ this -> ask ( 'Your App URL' , config ( 'app.url' ) ) ; // Timezone $ regions = $ this -> getTimezoneRegions ( ) ; $ this -> TIMEZONE = $ this -> choice ( 'Timezone region' , array_keys ( $ regions ) , 0 ) ; if ( $ this -> TIMEZONE !== 'UTC' ) { $ locations = $ this -> getTimezoneLocations ( $ regions [ $ this -> TIMEZONE ] ) ; $ this -> TIMEZONE .= '/' . $ this -> choice ( 'Timezone location' , $ locations , 0 ) ; } $ this -> askAboutDefaultLanguage ( ) ; // User information $ this -> ADMIN_FIRST_NAME = $ this -> ask ( 'Your First Name' ) ; $ this -> ADMIN_LAST_NAME = $ this -> ask ( 'Your Last Name' ) ; $ this -> ADMIN_EMAIL = $ this -> ask ( 'Your Email' ) ; $ this -> ADMIN_PASSWORD = $ this -> ask ( 'Set Your Admin Password' ) ; return $ this ; }
Ask installing questions

@return $this
@throws \Exception
Ask installing questions