{"action":"created","issue":{"url":"https://api.github.com/repos/mpociot/laravel-test-factory-helper/issues/1","repository_url":"https://api.github.com/repos/mpociot/laravel-test-factory-helper","labels_url":"https://api.github.com/repos/mpociot/laravel-test-factory-helper/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mpociot/laravel-test-factory-helper/issues/1/comments","events_url":"https://api.github.com/repos/mpociot/laravel-test-factory-helper/issues/1/events","html_url":"https://github.com/mpociot/laravel-test-factory-helper/issues/1","id":144310143,"number":1,"title":"Installation fails with an error","user":{"login":"nunomira","id":1017977,"avatar_url":"https://avatars.githubusercontent.com/u/1017977?v=3","gravatar_id":"","url":"https://api.github.com/users/nunomira","html_url":"https://github.com/nunomira","followers_url":"https://api.github.com/users/nunomira/followers","following_url":"https://api.github.com/users/nunomira/following{/other_user}","gists_url":"https://api.github.com/users/nunomira/gists{/gist_id}","starred_url":"https://api.github.com/users/nunomira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nunomira/subscriptions","organizations_url":"https://api.github.com/users/nunomira/orgs","repos_url":"https://api.github.com/users/nunomira/repos","events_url":"https://api.github.com/users/nunomira/events{/privacy}","received_events_url":"https://api.github.com/users/nunomira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-29T16:02:19Z","updated_at":"2016-03-30T23:02:42Z","closed_at":null,"body":"I have tried to install this package (on a fresh Laravel 5.2.27 installation) using _composer require_, but I get an error:\r\n```\r\n[Symfony\\Component\\Debug\\Exception\\FatalErrorException]\r\nClass 'Mpociot\\LaravelTestFactoryHelper\\TestFactoryHelperServiceProvider' not found\r\n\r\nScript php artisan optimize handling the post-update-cmd event returned with an error\r\n\r\nInstallation failed, reverting ./composer.json to its original content.\r\n\r\n[RuntimeException]\r\nError Output:\r\n```\r\nthe same happens when I run\r\n`php artisan test-factory-helper:generate`\r\n\r\n```\r\n[Symfony\\Component\\Debug\\Exception\\FatalErrorException]\r\n\r\nClass 'Mpociot\\LaravelTestFactoryHelper\\TestFactoryHelperServiceProvider' not found\r\n```"},"comment":{"url":"https://api.github.com/repos/mpociot/laravel-test-factory-helper/issues/comments/203674655","html_url":"https://github.com/mpociot/laravel-test-factory-helper/issues/1#issuecomment-203674655","issue_url":"https://api.github.com/repos/mpociot/laravel-test-factory-helper/issues/1","id":203674655,"user":{"login":"LukasMa","id":9931588,"avatar_url":"https://avatars.githubusercontent.com/u/9931588?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasMa","html_url":"https://github.com/LukasMa","followers_url":"https://api.github.com/users/LukasMa/followers","following_url":"https://api.github.com/users/LukasMa/following{/other_user}","gists_url":"https://api.github.com/users/LukasMa/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasMa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasMa/subscriptions","organizations_url":"https://api.github.com/users/LukasMa/orgs","repos_url":"https://api.github.com/users/LukasMa/repos","events_url":"https://api.github.com/users/LukasMa/events{/privacy}","received_events_url":"https://api.github.com/users/LukasMa/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T23:02:42Z","updated_at":"2016-03-30T23:02:42Z","body":"@nunomira I'm having the exact same issue! Installed it yesterday at home and it worked. Pushed my changes, pulled them today on another machine: Wont work. Got back home, and somehoe can't get it to work."}}