Skip to content

Conversation

@dcblogdev
Copy link
Collaborator

This PR ads support for multiple root level config files but also nested folders.

for example

config/
    admin/admin.php
    admin.php
    config.php
    user.php

Then to use them config('module.file.name') for example config('books.service.name') to load config/service.php from a module called Books

Usage of the default config.php is unchanged. ie config('module.name') will load the name key from module/config/config.php

@dcblogdev dcblogdev merged commit 0c04e1a into master Nov 16, 2024
6 checks passed
@dcblogdev dcblogdev deleted the add-multiple-config-support branch November 16, 2024 02:36
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

Successfully merging this pull request may close these issues.

2 participants