Skip to content

Load multiple configuration files #59

Description

@awalls

I'm trying to load multiple configuration files as below. It appears this is possible, and I can pass the Loader class an array of filepaths, but this is not working?

$Loader = (new \josegonzalez\Dotenv\Loader([ __DIR__ . '/../.env', __DIR__ . '/../aws.env', ])) ->parse() ->toEnv($overwrite) ->toServer($overwrite) ->putenv($overwrite);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions