Laravel 9 - Export data to excel in English

Опубликовано: 20 Февраль 2026
на канале: Code Shotcut
2,110
35

Laravel 9 Tutorials.
In this video we are going to discuss how can we export our data in to excel file.
Laravel excel export link : https://docs.laravel-excel.com/3.1/ex...

Issue Guide :
If Step # 1 doesn't work for you (Issue with Laravel 9)

Run the below command.

Command : composer require psr/simple-cache:^2.0 maatwebsite/excel

If you face an error with this command as well.

Stop xampp services.

Go to the php.ini file and remove ; semicolan from the below line

default : ;extension=gd
After removing semicolan : extension=gd
save php.ini file
Run xampp and the project.
excute command again : composer require psr/simple-cache ^2.0 (My issue was resolved here)

if still you are not able to resolve the issue try using
composer require psr/simple-cache ^1.0

After Completing the above re-run the Step # 1 :
Installing PHPSpreedSheet required for Laravel Excel.
Command : composer require maatwebsite/excel