{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/370","repository_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper","labels_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/370/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/370/events","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/370","id":168841001,"number":370,"title":"Using laravel-ide-helper in non-laravel project","user":{"login":"Tklaversma","id":2269283,"avatar_url":"https://avatars.githubusercontent.com/u/2269283?v=3","gravatar_id":"","url":"https://api.github.com/users/Tklaversma","html_url":"https://github.com/Tklaversma","followers_url":"https://api.github.com/users/Tklaversma/followers","following_url":"https://api.github.com/users/Tklaversma/following{/other_user}","gists_url":"https://api.github.com/users/Tklaversma/gists{/gist_id}","starred_url":"https://api.github.com/users/Tklaversma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tklaversma/subscriptions","organizations_url":"https://api.github.com/users/Tklaversma/orgs","repos_url":"https://api.github.com/users/Tklaversma/repos","events_url":"https://api.github.com/users/Tklaversma/events{/privacy}","received_events_url":"https://api.github.com/users/Tklaversma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T09:37:16Z","updated_at":"2016-08-15T07:41:51Z","closed_at":null,"body":"I was wondering if I could use this in a non-laravel project, since I'm just using the Eloquent library [`illuminate/database`](https://github.com/illuminate/database).\r\n\r\nJust want to know how to use the `_ide_helper.php` file in order for the following to get seen by PhpDoc: `User::query()->where('username', '=', $example)->exists()` in PhpStorm 2016.2.\r\n\r\nThe problem I'm having is that `exists()` is marked yellow as `method not found in $this`, where `$this` ofcourse refers to `\\Illuminate\\Database\\Eloquent\\Builder` and not **also** to `\\Illuminate\\Database\\Query\\Builder`.\r\n\r\nAny ideas?\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/comments/239745784","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/370#issuecomment-239745784","issue_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/370","id":239745784,"user":{"login":"Tklaversma","id":2269283,"avatar_url":"https://avatars.githubusercontent.com/u/2269283?v=3","gravatar_id":"","url":"https://api.github.com/users/Tklaversma","html_url":"https://github.com/Tklaversma","followers_url":"https://api.github.com/users/Tklaversma/followers","following_url":"https://api.github.com/users/Tklaversma/following{/other_user}","gists_url":"https://api.github.com/users/Tklaversma/gists{/gist_id}","starred_url":"https://api.github.com/users/Tklaversma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tklaversma/subscriptions","organizations_url":"https://api.github.com/users/Tklaversma/orgs","repos_url":"https://api.github.com/users/Tklaversma/repos","events_url":"https://api.github.com/users/Tklaversma/events{/privacy}","received_events_url":"https://api.github.com/users/Tklaversma/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T07:41:50Z","updated_at":"2016-08-15T07:41:50Z","body":"Anyone?"}}
{"actor":{"display_login":"Tklaversma"}}