checkApiToken(); $data = [ 'query' => [ 'limit' => 4 ] ]; $paid = $this->getPaidModules($data); $new = $this->getNewModules($data); $free = $this->getFreeModules($data); return view('modules.home.index', compact('paid', 'new', 'free')); } }