Skip to content

Remove Laravel 11 Checks #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

Jubeki
Copy link
Contributor

@Jubeki Jubeki commented Mar 11, 2024

Tomorrow when Laravel 11 is released, the default branch in https://github.com/laravel/laravel will change.

Therefor the installer will only pull the 11.x or master branch.
The checks are no longer necessary.

I opted for leaving the version check with an version parameter.
(This can also be removed if wanted).

It would probably also best to mention updating the Laravel Installer Version in the docs. (will send a PR for that)

@Jubeki Jubeki marked this pull request as draft March 11, 2024 09:34
@Jubeki Jubeki force-pushed the remove-laravel11-checks branch from ef57904 to 4c23e23 Compare March 11, 2024 09:36
@Jubeki Jubeki marked this pull request as ready for review March 11, 2024 09:38
@taylorotwell taylorotwell merged commit f27d366 into laravel:master Mar 11, 2024
10 checks passed
@skor235
Copy link

skor235 commented Mar 16, 2024

I have Laravel 5.6.0 installer. When I run "laravel new project", the installer installs laravel version 11.0.7 by default. is it possible to specify the installation of version 10?

@Jubeki
Copy link
Contributor Author

Jubeki commented Mar 16, 2024

You can not use the installer to create a Laravel 10 Application, but you can do the following:

To install with breeze:

composer create-project laravel/laravel:^10.0 example-app
cd example-app
composer require laravel/breeze
php artisan breeze:install

To install with jetstream:

composer create-project laravel/laravel:^10.0 example-app
cd example-app
composer require laravel/jetstream
php artisan jetstream:install

Afterwards configure your database accordingly to your environment.

@skor235
Copy link

skor235 commented Mar 16, 2024

I'm aware of that, but the installer is more convenient. I noticed that the latest version of the installer supporting Laravel 10 is version 5.2.1. is it possible to install version 5.2.1 instead of 5.6.0

@Jubeki
Copy link
Contributor Author

Jubeki commented Mar 16, 2024

The installer always pulls the latest branch from https://github.com/laravel/laravel which in this case is 11.x with the flag --dev you can fetch the master branch.

Event if you are using 5.2.1 you are still getting the 11.x branch.

The version 5.6 is documented, so that you have the latest features available for configuring a new Laravel 11 Application.

(It is generally discouraged to create a Laravel 10 Application, when Laravel 11 is already released)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants