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

Update env vars before being set in config #27

Open
gilbitron opened this issue Jun 10, 2024 · 0 comments
Open

Update env vars before being set in config #27

gilbitron opened this issue Jun 10, 2024 · 0 comments

Comments

@gilbitron
Copy link

Manually maintaining the list of config variables that need to be overridden in variables-config is cumbersome and a headache for larger projects. Would there be a way to inject the environment variables before the config is set? Maybe using a command to pull and set the variables in the environment before running php artisan config:cache? So you could do something like this:

php artisan fetch-secrets-from-aws
php artisan config:cache
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

No branches or pull requests

1 participant