Skip to content
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

Dotenv updater command #102

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

mchev
Copy link

@mchev mchev commented Jun 5, 2024

A new command to automatically update the .env file.

php artisan core:update-dot-env

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.

@mchev mchev changed the base branch from master to develop June 5, 2024 18:24
@gdarko gdarko self-assigned this Jun 6, 2024
@gdarko gdarko self-requested a review June 6, 2024 10:21
@gdarko gdarko assigned mchev and gdarko and unassigned gdarko Jun 6, 2024
@mchev mchev changed the title Dotenv updater Dotenv updater command Jul 17, 2024
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.

None yet

2 participants