Posts - Scott Robinson · @ssxio · May 21, 2020
Using Additional Configuration Files with Laravel & Lumen
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
If you’ve got a growing Lumen application or perhaps you just want clear separation of configuration - it can be beneficial to add more configuration files to the config/ directory. These files are pretty simple in nature, if I was creating one to configure settings for users, I could create a file called config/user.php containing: return [ 'prefix' = > 'user_' , 'table' = > 'users' ,…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.