cara mengirim lebih dari satu array menggunakan respons () json () di Laravel
$user= User::all()->toArray();
$post= Post::all()->toArray();
$comment= Comment:all()->toArray();
Response::json(['user'=>$user,'post'=>$post,'comment'=>$comment]);
Joyous Jellyfish