How to install ImageMagick on Laravel Valet
This walkthru assumes that you have Laravel Valet, PHP7.4 installed. If not, follow these instructions.
-
Prepare Pecl
pecl channel-update pecl.php.net ; pecl clear-cache
-
Install ImageMagick
pecl install imagick
-
Important! Restart Laravel Valet
valet restart
-
Check if it’s installed
php -m