Description
PS C:\xampp\htdocs\hr> composer require maatwebsite/excel
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update maatwebsite/excel
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 38 updates, 0 removals
Failed to download symfony/polyfill-ctype from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing symfony/polyfill-ctype (v1.28.0) into cache
Failed to download symfony/polyfill-php80 from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing symfony/polyfill-php80 (v1.28.0) into cache
Failed to download symfony/polyfill-php83 from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing symfony/polyfill-php83 (v1.28.0) into cache
Failed to download symfony/polyfill-mbstring from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing symfony/polyfill-mbstring (v1.28.0) into cache
Failed to download symfony/http-foundation from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing symfony/http-foundation (v6.3.4) into cache
Failed to download guzzlehttp/psr7 from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing guzzlehttp/psr7 (2.6.1) into cache
Failed to download guzzlehttp/guzzle from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing guzzlehttp/guzzle (7.8.0) into cache
Failed to download guzzlehttp/uri-template from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing guzzlehttp/uri-template (v1.0.2) into cache
Failed to download laravel/pint from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
Now trying to download from source
- Syncing laravel/pint (v1.13.1) into cache
View Code
AoA, Sir I am getting this error while installing 'composer require maatwebsite/excel '.
Sir, help me how to solve this issue.
Thanks for brief explaination, you are facing this issue due to php dist directory, php is unable to find the dist directory into your php folder, you can manually turn this on into the php.ini file.
I am attaching a video where you will solve this problem by watching the video.
0 Likes 0 Comments