Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Maatwebsite\Excel\Excel' not found #1783

Closed
amine8ghandi8amine opened this issue Sep 6, 2018 · 5 comments
Closed

Class 'Maatwebsite\Excel\Excel' not found #1783

amine8ghandi8amine opened this issue Sep 6, 2018 · 5 comments
Labels

Comments

@amine8ghandi8amine
Copy link

[BUG]
{X}

Versions

  • PHP version: 7.2
  • Laravel version: 5.5
  • Package version: "maatwebsite/excel": "^3.0",

Description

Class 'Maatwebsite\Excel\Excel' not found

Steps to Reproduce

I just pushed my working fine laravel project in a shared hosting : infinity free

Expected behavior:

Actual behavior:

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

image

@mrhili
Copy link

mrhili commented Sep 6, 2018

Me to i have this problem i cach and deploy and steel hapening

@sharppanyang
Copy link

I change the maatwebsite/excel Package version from "^3.0" to "~2.1.0".
This behaviour can fix it.
You can have a try.

@patrickbrouwers
Copy link
Member

Downgrading the package is of course never the solution.

Make sure you run composer install on your server. It seems you are missing the dependency on the server.

If it's just a problem with the config file, replace the Excel::XLSX by Xlsx. It shouldn't give any problems when the package is correctly installed.

@sulabh-npl
Copy link

I change the maatwebsite/excel Package version from "^3.0" to "~2.1.0".
This behaviour can fix it.
You can have a try.

inorder to update also it is saying class Excel not found
to remove also it is showing class excel is not found

@Wakil18
Copy link

Wakil18 commented Sep 20, 2022

Installing the package again solved the problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants