Skip to content

Commit eda30d1

Browse files
Add intro and outro messages for setup process
1 parent 4238282 commit eda30d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Skeletorfile.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
use NiftyCo\Skeletor\Skeletor;
44

55
return function (Skeletor $skeletor) {
6+
$skeletor->intro('Welcome to Larament setup! Let\'s get started.');
7+
68
$applicationName = $skeletor->text('What is the application name?', 'Laravel', required: true);
79
$name = $skeletor->text('What is the demo username?', 'John Doe', required: true);
810
$email = $skeletor->text('What is the demo email?', 'admin@example.com', required: true);
@@ -39,4 +41,6 @@
3941
if ($timezone) {
4042
$skeletor->pregReplaceInFile('/^APP_TIMEZONE=(".*?"|[^"\s]*|)$/m', 'APP_TIMEZONE="'.$timezone.'"', '.env');
4143
}
44+
45+
$skeletor->outro('Setup complete.');
4246
};

0 commit comments

Comments
 (0)