Skip to content

Commit

Permalink
Merge branch '5.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Jan 12, 2024
2 parents c40345f + 761c882 commit f13096f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Release Notes

## [Unreleased](https://github.com/laravel/installer/compare/v5.1.3...master)
## [Unreleased](https://github.com/laravel/installer/compare/v5.2.1...5.x)

## [v5.2.1](https://github.com/laravel/installer/compare/v5.2.0...v5.2.1) - 2024-01-09

* Adjust link to docs by [@driesvints](https://github.com/driesvints) in https://github.com/laravel/installer/pull/299
* [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

## [v5.2.0](https://github.com/laravel/installer/compare/v5.1.3...v5.2.0) - 2023-12-05

* Apply using the str_starts_with function by [@peter279k](https://github.com/peter279k) in https://github.com/laravel/installer/pull/289
* Add mariadb installation option by [@Jubeki](https://github.com/Jubeki) in https://github.com/laravel/installer/pull/292
* [5.x] Removes alias by [@nunomaduro](https://github.com/nunomaduro) in https://github.com/laravel/installer/pull/293

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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Official Documentation

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

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion bin/laravel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (file_exists(__DIR__.'/../../../autoload.php')) {
require __DIR__.'/../vendor/autoload.php';
}

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

$app->run();
8 changes: 6 additions & 2 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
'breeze' => 'Laravel Breeze',
'jetstream' => 'Laravel Jetstream',
],
default: 'none',
)) {
'breeze' => $input->setOption('breeze', true),
'jetstream' => $input->setOption('jet', true),
Expand All @@ -118,6 +119,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
$input->setOption('pest', select(
label: 'Which testing framework do you prefer?',
options: ['PHPUnit', 'Pest'],
default: 'PHPUnit',
) === 'Pest');
}

Expand Down Expand Up @@ -422,7 +424,8 @@ protected function promptForBreezeOptions(InputInterface $input)
'react' => 'React with Inertia',
'vue' => 'Vue with Inertia',
'api' => 'API only',
]
],
default: 'blade',
));
}

Expand Down Expand Up @@ -462,7 +465,8 @@ protected function promptForJetstreamOptions(InputInterface $input)
options: [
'livewire' => 'Livewire',
'inertia' => 'Vue with Inertia',
]
],
default: 'livewire',
));
}

Expand Down

0 comments on commit f13096f

Please sign in to comment.