Closed dcblogdev closed 1 week ago
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
config('module.file.name')
config('books.service.name')
config/service.php
Books
Usage of the default config.php is unchanged. ie config('module.name') will load the name key from module/config/config.php
config('module.name')
module/config/config.php
This PR ads support for multiple root level config files but also nested folders.
for example
Then to use them
config('module.file.name')
for exampleconfig('books.service.name')
to loadconfig/service.php
from a module calledBooks
Usage of the default config.php is unchanged. ie
config('module.name')
will load the name key frommodule/config/config.php