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 'PHPExcel_Shared_Font' not found #1654
Comments
@ds-manish did you upgrade from 2.1? You'll have to delete your config/excel.php and re-publish it. As the version 2.1 config uses PHPExcel classes instead of PhpSpreadsheet. |
@patrickbrouwers Its working! Thank you! |
How can I re-publish it? |
From installation: php artisan vendor:publish --provider=Maatwebsite\Excel\ExcelServiceProvider |
Thank you. Now, I have this return: There are no commands defined in the "iseed" namespace. |
Thank you, solved my problem. |
after using this command getting Class 'Arrilot\Widgets\ServiceProvider' not found this error. |
Doesn't sound related to Laravel-Excel in my opinion. |
None of the options are working to me. I have a clear laravel installation, and when I try to access I get the error Class 'PHPExcel_Shared_Font' not found |
Could you please share your versions of PHP, Laravel and Laravel Excel? Thanks! |
Thank you for this suggestion, everything working now. |
If anyone is getting the error
you need to put quotation marks in provider:
|
Versions
"php": ">=7.1.0",
"laravel/framework": "5.6.*",
"maatwebsite/excel": "~3.0.5"
while doing
composer install
as well as while doingcomposer update
Error
In excel.php line 182:
Class 'PHPExcel_Shared_Font' not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
The text was updated successfully, but these errors were encountered: