Skip to content

why? #3

Locked Answered by ryangjchandler
michabbb asked this question in Q&A
Discussion options

You must be logged in to vote

Laravel doesn't provide a JSON config adapter out of the box, only PHP.

Using a JSON file means that editing can be made simple via a GUI & the data can be persisted back to disk instead of storing in the database.

The retrieval of the file is cached by default, so file I/O overhead is minimal and rare unless the file is constantly updated.

Having different settings in production and local environments is also tough. The idea is to add a Git integration so that settings could be persisted back to Git from a Forge or Ploi server.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ryangjchandler
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