0

I try to use the following command on my macos terminal,

composer global require laravel/installer

And I get the following error,

  Problem 1
- laravel/installer v3.0.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- laravel/installer v3.0.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- Installation request for laravel/installer ^3.0 -> satisfiable by laravel/installer[v3.0.0, v3.0.1].

I have tried the following solution, but that doesn't work for me, Can't install laravel installer via composer

1 Answers1

-1

check your php version and update via homebrew

brew update

brew upgrade php

knubbe
  • 1,132
  • 2
  • 12
  • 21
  • hm, strange. last night I setup development environment on mojave os and did't have any issues. I only need to create usr/local/bin/composer folder and setup path in .zshrc to be able to reach global package – knubbe Dec 04 '19 at 14:21
  • Php version is PHP 7.3.9 –  Dec 04 '19 at 14:52