/** * Show the Developers screen to the user. * * @return void */ public function index() { $url = 'https://laravel-news.com/feed/'; $feeds = $this->getFeed($url); $developers = Developer::where('approval_status', '=', 1)->paginate(3); return view('developers.list')->withDeveloper($developers)->withFeed($feeds); }