Composer | Why can't require? be used? The update command is running normally.

I just wanted to use composer to install the PHPExcel class library in my thinkphp5.1 project. Execute the command under the project directory:

composer require phpoffice/phpexcel

after execution, the terminal command line did not respond, and remained stuck there without movement. It can only be forced to end.

then I modified the composer.json file in the project to add PHPExcel.

clipboard.png

then run composer update, so that the installation is successful.

it"s strange why the composer require command didn"t respond.

Php
Jul.08,2021

change the version

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b365cc-2c014.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b365cc-2c014.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?