From 0a1db0c6526b53b2b13652006cf46639e5d9568a Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 23 Jan 2024 16:27:49 +0000 Subject: [PATCH] [5.x] Improves ending message (#307) * Improves ending message * Update NewCommand.php --------- Co-authored-by: Taylor Otwell --- src/NewCommand.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index 8370000..a203c87 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -209,7 +209,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int $output->writeln(''); } - $output->writeln(" INFO Application ready in [{$name}]. Build something amazing.".PHP_EOL); + $output->writeln(" INFO Application ready in [{$name}]. You can start your local development using:".PHP_EOL); + + $output->writeln('cd '.$name.''); + $output->writeln('php artisan serve'); + $output->writeln(''); + + $output->writeln(' New to Laravel? Check out our bootcamp and documentation. Build something amazing!'); + $output->writeln(''); } return $process->getExitCode();