Skip to content

How to start and where to put GeneralSetting? #14

Answered by rubenvanassche
shiroamada asked this question in Q&A
Discussion options

You must be logged in to vote

In bigger application we have multiple contexts for each domain, so for example a Blog, User. and Invoice context. In those cases we put settings files in each context so for the Blog context that would be: app/Context/Blog/Settings/BlogSettings.php. In Smaller applications I would put them within the app directory so in your case app/Settings/GeneralSettings.php.

But it is possible to put these files wherever you want, the above is more of a personal choice from the Spatie team.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rubenvanassche
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14 on December 09, 2020 08:36.