{"action":"created","issue":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1762","repository_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel","labels_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1762/labels{/name}","comments_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1762/comments","events_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1762/events","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/1762","id":349644168,"node_id":"MDU6SXNzdWUzNDk2NDQxNjg=","number":1762,"title":"Unable to store excel file on server","user":{"login":"aditya8003","id":12226388,"node_id":"MDQ6VXNlcjEyMjI2Mzg4","avatar_url":"https://avatars3.githubusercontent.com/u/12226388?v=4","gravatar_id":"","url":"https://api.github.com/users/aditya8003","html_url":"https://github.com/aditya8003","followers_url":"https://api.github.com/users/aditya8003/followers","following_url":"https://api.github.com/users/aditya8003/following{/other_user}","gists_url":"https://api.github.com/users/aditya8003/gists{/gist_id}","starred_url":"https://api.github.com/users/aditya8003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aditya8003/subscriptions","organizations_url":"https://api.github.com/users/aditya8003/orgs","repos_url":"https://api.github.com/users/aditya8003/repos","events_url":"https://api.github.com/users/aditya8003/events{/privacy}","received_events_url":"https://api.github.com/users/aditya8003/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-10T20:15:36Z","updated_at":"2018-08-10T21:37:49Z","closed_at":null,"author_association":"NONE","body":"\r\n-->\r\n\r\n### Prerequisites\r\n\r\n<!--\r\n\r\nPut an X between the brackets if you have done the following:\r\n\r\n-->\r\n\r\n* [ ] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.\r\n* [x] Checked that your issue isn't already filed.\r\n* [x] Checked if no PR was submitted that fixes this problem.\r\n\r\n### Versions\r\n\r\n\r\n* PHP version: 7.1.4\r\n* Laravel version: 5.5.40\r\n* Package version: 3.0\r\n\r\n### Description\r\n\r\nI have used the below command to store the data from an array to a file on server but it didn't work. Do you have any suggestions on how I can accomplish this task?\r\n Excel::store(arr[], \\storage_path('inventorytoolextracts/log/test.xlsx');\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n\r\n\r\n**Expected behavior:**\r\n\r\n<!-- What you expect to happen -->\r\n\r\n**Actual behavior:** \r\n\r\n<!-- What actually happens. Please include screenshots, strack traces and anything that can help us understand the issue. -->\r\n\r\n### Additional Information\r\n\r\nAny additional information, configuration or data that might be necessary to reproduce the issue.\r\n"},"comment":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/comments/412213327","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/1762#issuecomment-412213327","issue_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/1762","id":412213327,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjIxMzMyNw==","user":{"login":"patrickbrouwers","id":7728097,"node_id":"MDQ6VXNlcjc3MjgwOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/7728097?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickbrouwers","html_url":"https://github.com/patrickbrouwers","followers_url":"https://api.github.com/users/patrickbrouwers/followers","following_url":"https://api.github.com/users/patrickbrouwers/following{/other_user}","gists_url":"https://api.github.com/users/patrickbrouwers/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickbrouwers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickbrouwers/subscriptions","organizations_url":"https://api.github.com/users/patrickbrouwers/orgs","repos_url":"https://api.github.com/users/patrickbrouwers/repos","events_url":"https://api.github.com/users/patrickbrouwers/events{/privacy}","received_events_url":"https://api.github.com/users/patrickbrouwers/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T21:37:49Z","updated_at":"2018-08-10T21:37:49Z","author_association":"MEMBER","body":"What did you derive your example of? We don't mention this way of doing it anywhere in the docs I believe. Please refer to our documentation https://laravel-excel.maatwebsite.nl/3.0/exports/ or tutorial https://medium.com/@maatwebsite/supercharge-your-excel-exports-in-laravel-eb9f74395995\r\n\r\nIt's most likely something like this: `Excel::store(new YourExportClass(array[]), `inventorytoolextracts/log/test.xlsx`)`"}}
{"actor":{"display_login":"patrickbrouwers"}}