I want to update my database.php file in config directory in laravel from a external json file when performing crud operation in the web app. I tried access the data from json file using file_get_contents method in php and assign it to the database config details however it did not work out. Please help me out with this issue as I have spent a lot of time figuring out this but couldnt and the deadline has passed.
Aucun commentaire:
Enregistrer un commentaire