Skip to content

Support for dist files / overwriting values with local config values #24

@rauwebieten

Description

@rauwebieten

Usually I have a dist file (which is added to my git project), and local configuration files (not in git).
I'd like to load dist filesfirst, and then overwrite them with local configuration files.

For example:

app.dist.ini
´´´
db.hostname = myhostname
db.database = mydatabase
db.username = ...
´´´

and then in app.ini
´´´
db.hostname = mysql.host.com
db.database = somerealdbname
db.username = ...
´´´

Is this possible out of the box?
Or should I create my own loaders?

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