jeetgeg
933
8
Laravel

How to create Dynamically create config/custom.php config file

Posted 1 year ago by jeetgeg

I am using a package which reads the configuration from config/custom.php config file. Whenever I add a new entry in database, i have to add entry to that config file manually. is there any way, I can create or modify config/custom.php config file dynamically whenever there is new entry added to database. Please help

// dummpy data from config/custom.php

Please sign in or create an account to participate in this conversation.