laravel read json file from storage
snippet in php

laravel read json file from storage

user4715

$path = storage_path() . "/json/${filename}.json"; // ie: /var/www/laravel/app/storage/json/filename.json

$json = json_decode(file_get_contents($path), true);