Upgrade Guide

Upgrade Guide Upgrading To 5.3.0 From 5.2 Upgrading To 5.2.0 From 5.1 Upgrading To 5.1.11 Upgrading To 5.1.0 Upgrading To 5.0.16 Upgrading To 5.0 From 4.2 Upgrading To 4.2 From 4.1 Upgrading To 4.1.29 From <= 4.1.x Upgrading To 4.1.26 From <= 4.1.25 Upgrading To 4.1 From 4.0 Upgrading To 5.3.0 From 5.2 Estimated Upgrade Time: 2-3 Hours We attempt to document every possible breaking change. Since some of these breaking changes are in obscure parts of the framework only a portion of thes

UpCommand::setLaravel()

void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void

UpCommand::warn()

void warn(string $string) Write a string as warning output. Parameters string $string Return Value void

UpCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

UpCommand::__construct()

void __construct() Create a new console command instance. Return Value void

UpCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

UpCommand::info()

void info(string $string) Write a string as information output. Parameters string $string Return Value void

UpCommand::option()

string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array

UpCommand::question()

void question(string $string) Write a string as question output. Parameters string $string Return Value void

UpCommand::line()

void line(string $string) Write a string as standard output. Parameters string $string Return Value void