Not really, JSON is probably the easiest to modify because you can read the contents and decode it quickly with json_decode, then because it's an array the values can be changed easily and re-encoded with json_encode. So something like this.
$data = json_decode(file_get_contents('path/to/file.json'));
$data['key'] = 'new value';
file_put_contents('path/to/file.json', json_encode($data));
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community