Laravel-excel: [PROBLEM] Excel load

Created on 23 Mar 2018  路  8Comments  路  Source: Maatwebsite/Laravel-Excel

Function:
`

if($request->hasFile('archivo')){

        $path = $request->file('archivo')->getRealPath();

        $data = Excel::load($path, function($reader){})->get();

`
The following error appears:

Call to undefined method Maatwebsite\Excel\Facades\Excel::load()

I followed the installation steps but I do not recognize any function (load, create, etc)

I need help, urgently!

Thank you

All 8 comments

Thanks for submitting the ticket. Unfortunately the information you provided is incomplete. Before we can pick it up, please check (https://github.com/Maatwebsite/Laravel-Excel/blob/3.0/.github/ISSUE_TEMPLATE.md) and add the missing information. Filling out the issue template is required as stated in the template.

To make processing of this ticket a lot easier, please make sure to check (https://laravel-excel.maatwebsite.nl/docs/3.0/getting-started/contributing) and double-check if you have filled in the issue template correctly. This will allow us to pick up your ticket more efficiently. Issues that follow the guidelines correctly will get priority over other issues.

I am facing the same issue. I think there is some issue with Laravel 5.6 and this package of version 3

Duplicate #1573

Please make sure you read the upgrade guide: https://laravel-excel.maatwebsite.nl/docs/3.0/getting-started/upgrade

Is there any way to use 2.1 version with Laravel 5.6 + PHP 7.2? I really need import functionality.

No.

What the best option in this case?

Are we need to wait, until version 3.1 for import functionality? or are there any option?

how i can import in version 3 ?

Was this page helpful?
0 / 5 - 0 ratings