How to read data from json file without using file_get_contents() and curl in PHP/Laravel?

后端 未结 0 1747
迷失自我
迷失自我 2021-02-19 23:36

I have a piece of code:-

try{
    $jsonTechnicianData             = file_get_contents(asset(\'important_doc/technician_key.json\'));
}
catch(\\Exception $e){
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题