Skip to content

Load multiple configuration filesΒ #59

@awalls

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);

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