Save that in a database and load it from the database, not sure if all data can be done this way though, if impossible I would still save it to a database, but every minute or so synchronise it to the config and validating every variable name and value carefully.
There's a package that might be what you're looking for
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community