Skip to content

Update env vars before being set in config #27

@gilbitron

Description

@gilbitron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions