{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/283","labels_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/283/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/283/events","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/283","id":120230110,"number":283,"title":"Still getting Method not found...","user":{"login":"vietnguyen09","id":4090897,"avatar_url":"https://avatars.githubusercontent.com/u/4090897?v=3","gravatar_id":"","url":"https://api.github.com/users/vietnguyen09","html_url":"https://github.com/vietnguyen09","followers_url":"https://api.github.com/users/vietnguyen09/followers","following_url":"https://api.github.com/users/vietnguyen09/following{/other_user}","gists_url":"https://api.github.com/users/vietnguyen09/gists{/gist_id}","starred_url":"https://api.github.com/users/vietnguyen09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietnguyen09/subscriptions","organizations_url":"https://api.github.com/users/vietnguyen09/orgs","repos_url":"https://api.github.com/users/vietnguyen09/repos","events_url":"https://api.github.com/users/vietnguyen09/events{/privacy}","received_events_url":"https://api.github.com/users/vietnguyen09/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T17:45:48Z","updated_at":"2015-12-03T18:22:10Z","closed_at":null,"body":"Hi guys,\r\n\r\nIm f*cking crazy whith PhpStorm when tried to fix a popular error `Method 'Bla bla' not found in class.` \r\n\r\nI have been searching for days in google whith hope to find out the way for this problem but no luck. \r\n\r\nAlmost every singel topic I have read are pointing me to this laravel-ide-helper but after Install thousand times (with fresh laravel project), PhpStorm still not recognize those damn method.\r\n\r\nI also install laravel plugin in PhpStorm but still not work too, what can I do now?\r\n\r\nHere is my code.\r\n\r\n```\r\n<?php\r\n\r\nnamespace App\\Http\\Controllers;\r\n\r\nuse App\\Article;\r\nuse App\\Menu;\r\nuse Illuminate\\Http\\Request;\r\nuse App\\Http\\Requests;\r\nuse App\\Http\\Controllers\\Controller;\r\nuse Illuminate\\Http\\Requestst;\r\nuse Illuminate\\Support\\Facades\\Input;\r\n\r\nclass PagesController extends Controller\r\n{\r\n    public function index()\r\n    {\r\n        $article = Article::latest('published_at')->get(); // Method 'latest' not found in class...\r\n        $data = array(\r\n            'articles' => $article\r\n        );\r\n        return view('pages.index' , compact($data));\r\n    }\r\n}\r\n```\r\n\r\nPlease help."},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/comments/161738181","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/283#issuecomment-161738181","issue_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/283","id":161738181,"user":{"login":"EselDompteur","id":3793001,"avatar_url":"https://avatars.githubusercontent.com/u/3793001?v=3","gravatar_id":"","url":"https://api.github.com/users/EselDompteur","html_url":"https://github.com/EselDompteur","followers_url":"https://api.github.com/users/EselDompteur/followers","following_url":"https://api.github.com/users/EselDompteur/following{/other_user}","gists_url":"https://api.github.com/users/EselDompteur/gists{/gist_id}","starred_url":"https://api.github.com/users/EselDompteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EselDompteur/subscriptions","organizations_url":"https://api.github.com/users/EselDompteur/orgs","repos_url":"https://api.github.com/users/EselDompteur/repos","events_url":"https://api.github.com/users/EselDompteur/events{/privacy}","received_events_url":"https://api.github.com/users/EselDompteur/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T18:22:10Z","updated_at":"2015-12-03T18:22:10Z","body":"Article::latest is a method of your Model I supose ... You have to make\n\"php artisan ide-helper:models\" to fix your Problem ...\n\nbest regards\n\nKvintiljanov Aleksandr <notifications@github.com> schrieb am Do., 3. Dez.\n2015 um 19:14 Uhr:\n\n> Helper have not all methods. For example latest() not in helper list...\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/barryvdh/laravel-ide-helper/issues/283#issuecomment-161736141>\n> .\n>\n"}}