Property | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$signature | string | The name and signature of the console command. |
Method | Description | |
---|---|---|
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\UserRepositoryInterface $repository = null ) | InstallApp constructor. | |
handle ( ) : mixed | Execute the console command. |
Method | Description | |
---|---|---|
block ( string | array $messages, string $type = 'error' ) | A wrapper around symfony's formatter helper to output a block. | |
checkRequirements ( ) : boolean | Checks the system meets all the requirements needed to run Deployer. | |
clearCaches ( ) | Clears all Laravel caches. | |
generateJWTKey ( ) : string | Generates a key for JWT. | |
header ( string $header ) | Outputs a header block. | |
migrate ( boolean $seed = false ) | Calls the artisan migrate to set up the database in development mode it also seeds the DB. | |
optimize ( ) | Runs the artisan optimize commands. | |
writeEnvFile ( array $input ) : boolean | Writes the configuration data to the config file. |
Method | Description | |
---|---|---|
generateKey ( ) | Calls the artisan key:generate to set the APP_KEY. | |
getAdminInformation ( ) : array | Prompts for the admin user details. | |
getDatabaseDrivers ( ) : array | Gets an array of available PDO drivers which are supported by Laravel. | |
getDatabaseInformation ( ) : array | Prompts the user for the database connection details. | |
getEmailInformation ( ) : array | Prompts the user for the details for the email setup. | |
getInstallInformation ( ) : array | Prompts the user for the basic setup information. | |
getLocales ( ) : array | Gets a list of the available locales. | |
getTimezoneLocations ( integer $region ) : array | Gets a list of available locations in the supplied region. | |
getTimezoneRegions ( ) : array | Gets a list of timezone regions. | |
verifyDatabaseDetails ( array $database ) : boolean | Verifies that the database connection details are correct. | |
verifyNotInstalled ( ) : boolean | Ensures that Deployer has not been installed yet. |
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\UserRepositoryInterface $repository = null ) | ||
$repository | REBELinBLUE\Deployer\Contracts\Repositories\UserRepositoryInterface |
protected checkRequirements ( ) : boolean | ||
return | boolean |
protected generateJWTKey ( ) : string | ||
return | string |
protected writeEnvFile ( array $input ) : boolean | ||
$input | array | The config data to write |
return | boolean |
protected string $description | ||
return | string |
protected string $signature | ||
return | string |