I wanted to update my Laravel app's dependencies using composer, but while entering composer update
I receive an error for one of the dependencies ***** requires ext-zip * -> the requested PHP extension zip is missing from your system.
I check the installed PHP for the extensions and this is the output of php -m
:
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]
As I checked the zip extension is already available to the command line and the to the application but the composer is not updating. Can anyone guide me?
OS: macOS Catalina
Server: MAMP Pro