From Terminal
# install dependencies
brew install autoconf # required by pecl
brew install libzip
# install zip extenion in your selected MAMP PHP version
ls /Applications/MAMP/bin/php/
cd /Applications/MAMP/bin/php/php[Version]bin
pecl install zip
# edit php.ini in your selected MAMP PHP version
ls /Applications/MAMP/conf/p*
cd /Applications/MAMP/conf/php7.3.8/
echo "extension=zip" >> php.ini
Thanks for sharing.
pecl is insides MAMP directory - /Applications/MAMP/bin/php/php7.3.8/bin