{"action":"created","issue":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/546","labels_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/546/comments","events_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/546/events","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/546","id":106500444,"number":546,"title":"ReflectionException: Class Response does not exist","user":{"login":"soderluk","id":6086071,"avatar_url":"https://avatars.githubusercontent.com/u/6086071?v=3","gravatar_id":"","url":"https://api.github.com/users/soderluk","html_url":"https://github.com/soderluk","followers_url":"https://api.github.com/users/soderluk/followers","following_url":"https://api.github.com/users/soderluk/following{/other_user}","gists_url":"https://api.github.com/users/soderluk/gists{/gist_id}","starred_url":"https://api.github.com/users/soderluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soderluk/subscriptions","organizations_url":"https://api.github.com/users/soderluk/orgs","repos_url":"https://api.github.com/users/soderluk/repos","events_url":"https://api.github.com/users/soderluk/events{/privacy}","received_events_url":"https://api.github.com/users/soderluk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T07:42:25Z","updated_at":"2015-10-02T05:53:08Z","closed_at":null,"body":"Using Lumen framework 5.0 I get the following error message when trying to run a Console command and loading an Excel:\r\nExcel::load($path, function ($reader) {})->get();\r\n\r\n[ReflectionException]\r\n  Class Response does not exist\r\n\r\nThis comes from the ExcelServiceProvider.php bindWriters() function, line 162, $app->make('Response')\r\n\r\nAre there any instructions how to get this module working on a Lumen framework project?"},"comment":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/comments/144931627","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/546#issuecomment-144931627","issue_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/546","id":144931627,"user":{"login":"CesarLanderos","id":815951,"avatar_url":"https://avatars.githubusercontent.com/u/815951?v=3","gravatar_id":"","url":"https://api.github.com/users/CesarLanderos","html_url":"https://github.com/CesarLanderos","followers_url":"https://api.github.com/users/CesarLanderos/followers","following_url":"https://api.github.com/users/CesarLanderos/following{/other_user}","gists_url":"https://api.github.com/users/CesarLanderos/gists{/gist_id}","starred_url":"https://api.github.com/users/CesarLanderos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CesarLanderos/subscriptions","organizations_url":"https://api.github.com/users/CesarLanderos/orgs","repos_url":"https://api.github.com/users/CesarLanderos/repos","events_url":"https://api.github.com/users/CesarLanderos/events{/privacy}","received_events_url":"https://api.github.com/users/CesarLanderos/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T05:53:08Z","updated_at":"2015-10-02T05:53:08Z","body":"just create an alias in bootstrap/app.php :)\r\n\r\n`class_alias('Illuminate\\Support\\Facades\\Response', 'Response');`"}}