Skip to content

Commit f13096f

Browse files
committed
Merge branch '5.x'
2 parents c40345f + 761c882 commit f13096f

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Release Notes
22

3-
## [Unreleased](https://github.com/laravel/installer/compare/v5.1.3...master)
3+
## [Unreleased](https://github.com/laravel/installer/compare/v5.2.1...5.x)
4+
5+
## [v5.2.1](https://github.com/laravel/installer/compare/v5.2.0...v5.2.1) - 2024-01-09
6+
7+
* Adjust link to docs by [@driesvints](https://github.com/driesvints) in https://github.com/laravel/installer/pull/299
8+
* [5.x] Added default value on selection question while creating new application by [@bigship-prashant](https://github.com/bigship-prashant) in https://github.com/laravel/installer/pull/300
9+
10+
## [v5.2.0](https://github.com/laravel/installer/compare/v5.1.3...v5.2.0) - 2023-12-05
11+
12+
* Apply using the str_starts_with function by [@peter279k](https://github.com/peter279k) in https://github.com/laravel/installer/pull/289
13+
* Add mariadb installation option by [@Jubeki](https://github.com/Jubeki) in https://github.com/laravel/installer/pull/292
14+
* [5.x] Removes alias by [@nunomaduro](https://github.com/nunomaduro) in https://github.com/laravel/installer/pull/293
415

516
## [v5.1.3](https://github.com/laravel/installer/compare/v5.1.2...v5.1.3) - 2023-10-10
617

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Official Documentation
99

10-
Documentation for installing Laravel can be found on the [Laravel website](https://laravel.com/docs#installing-laravel).
10+
Documentation for installing Laravel can be found on the [Laravel website](https://laravel.com/docs#creating-a-laravel-project).
1111

1212
## Contributing
1313

bin/laravel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (file_exists(__DIR__.'/../../../autoload.php')) {
77
require __DIR__.'/../vendor/autoload.php';
88
}
99

10-
$app = new Symfony\Component\Console\Application('Laravel Installer', '5.1.3');
10+
$app = new Symfony\Component\Console\Application('Laravel Installer', '5.2.1');
1111
$app->add(new Laravel\Installer\Console\NewCommand);
1212

1313
$app->run();

src/NewCommand.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
101101
'breeze' => 'Laravel Breeze',
102102
'jetstream' => 'Laravel Jetstream',
103103
],
104+
default: 'none',
104105
)) {
105106
'breeze' => $input->setOption('breeze', true),
106107
'jetstream' => $input->setOption('jet', true),
@@ -118,6 +119,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
118119
$input->setOption('pest', select(
119120
label: 'Which testing framework do you prefer?',
120121
options: ['PHPUnit', 'Pest'],
122+
default: 'PHPUnit',
121123
) === 'Pest');
122124
}
123125

@@ -422,7 +424,8 @@ protected function promptForBreezeOptions(InputInterface $input)
422424
'react' => 'React with Inertia',
423425
'vue' => 'Vue with Inertia',
424426
'api' => 'API only',
425-
]
427+
],
428+
default: 'blade',
426429
));
427430
}
428431

@@ -462,7 +465,8 @@ protected function promptForJetstreamOptions(InputInterface $input)
462465
options: [
463466
'livewire' => 'Livewire',
464467
'inertia' => 'Vue with Inertia',
465-
]
468+
],
469+
default: 'livewire',
466470
));
467471
}
468472

0 commit comments

Comments
 (0)