Trying To Import More then 100 MB File in Laravel Excel

Viewed 28

I am trying to import more then 100MB file with more then 50,000+ Rows but it show "Failed To Load Response Data: No Data Found For Resource with given identifier" In Inspect element.

When i import small size CSV it work fine.

Below is From Controller How i called import

Excel::import(new MyModel, request()->file('myfiletype'),\Maatwebsite\Excel\Excel::CSV);

In my Imports file i simply return row as my data

Thanks in advance

1 Answers

Try set the value of upload_max_filesize and post_max_size in your php.ini :

; Maximum allowed size for uploaded files.

upload_max_filesize = 500M

Related