{"action":"closed","issue":{"url":"https://api.github.com/repos/Propaganistas/Laravel-FakeId/issues/2","repository_url":"https://api.github.com/repos/Propaganistas/Laravel-FakeId","labels_url":"https://api.github.com/repos/Propaganistas/Laravel-FakeId/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Propaganistas/Laravel-FakeId/issues/2/comments","events_url":"https://api.github.com/repos/Propaganistas/Laravel-FakeId/issues/2/events","html_url":"https://github.com/Propaganistas/Laravel-FakeId/issues/2","id":162152161,"number":2,"title":"Trait 'Propaganistas\\LaravalFakeId\\FakeIdTrait' not found","user":{"login":"javaftper","id":13317379,"avatar_url":"https://avatars.githubusercontent.com/u/13317379?v=3","gravatar_id":"","url":"https://api.github.com/users/javaftper","html_url":"https://github.com/javaftper","followers_url":"https://api.github.com/users/javaftper/followers","following_url":"https://api.github.com/users/javaftper/following{/other_user}","gists_url":"https://api.github.com/users/javaftper/gists{/gist_id}","starred_url":"https://api.github.com/users/javaftper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javaftper/subscriptions","organizations_url":"https://api.github.com/users/javaftper/orgs","repos_url":"https://api.github.com/users/javaftper/repos","events_url":"https://api.github.com/users/javaftper/events{/privacy}","received_events_url":"https://api.github.com/users/javaftper/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-24T13:56:44Z","updated_at":"2016-06-28T19:11:31Z","closed_at":"2016-06-28T19:11:31Z","body":"Thanks for releasing this package.\r\n\r\nIt's a great piece of functionality from reading the code.\r\n\r\nUnfortunately I cannot get it to work from the install instructions because of a basic error which I imagine is something that is easy to resolve.\r\n\r\nI have followed your install/setup instructions and then updated the following files-\r\n\r\nroutes.php\r\n`Route::model('orange', 'App\\Orange');\r\nRoute::resource('orange', 'OrangeController');`\r\n\r\nOrange.php\r\n`\r\nnamespace App;\r\n\r\nuse Illuminate\\Database\\Eloquent\\Model;\r\nuse Propaganistas\\LaravalFakeId\\FakeIdTrait;\r\nclass Orange extends Model\r\n{\r\n\t\r\n  use FakeIdTrait;\r\n\r\n    protected $fillable = ['orange_name'];\r\n}\r\n`\r\nWhen I load- http://localhost:8000/orange/3\r\n\r\nI received the following -\r\n`FatalErrorException in Orange.php line 10:\r\nTrait 'Propaganistas\\LaravalFakeId\\FakeIdTrait' not found`\r\n\r\nI don't think I've used traits in vendor packages before- normally I define in the App folder.  Is there some kind of config etc I need to set up to enable this to work?\r\n\r\nI'm using laravel 5.2 and the latest version of your package.\r\n"}}
{"actor":{"display_login":"javaftper"}}