Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

laracoft's avatar

Handling business user configuration

I'm trying to handle configuration that is the responsibility of the business user

Considerations:

  1. Can business users set it up in dev/stage for final checks/verifications, and dev deploy to live?
  2. Should it be persisted to file or DB?
  3. config() is stored on file, but allows modifications by dev only, not business user
  4. If DB, how to deploy DB data to live?
  5. These configuration should be modifiable in production so that the dev does not have to deploy code just to update a link

Use case for such configuration would be announcements at the top, social media links, e.g. youtube channel

It is not helpful for devs to be responsible for updating these info especially for startups where things might be chaotic. Any suggestions? Thank you.

0 likes
1 reply
laracoft's avatar

updated my OP to better describe the problem

Please or to participate in this conversation.