Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A new command to automatically update the .env file.
This command allows you to stick to the latest laravel changes to this file since Laravel 11 :
laravel/laravel@10.x...11.x#diff-a3046da0d15a27e89f2afe639b25748a7ad4d9290af3e7b1b6c1a5533c8f0a8c
It remains to be defined whether this command should be documented to help users perform the update, or whether it should be integrated into the automatic update process.
In my opinion, it's better to let users run this command. Even if the process is fairly safe, it's impossible to know what users have done with their environment file and it also allows them to make a copy before running the command.