Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel open json file in storage

$path = storage_path() . "/json/${filename}.json"; // ie: /var/www/laravel/app/storage/json/filename.json
$json = json_decode(file_get_contents($path), true); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #open #json #file #storage
ADD COMMENT
Topic
Name
3+7 =