From fe9dd5415a33b1cdd5cc679fe246a66894219a5e Mon Sep 17 00:00:00 2001 From: Mischa Braam Date: Sun, 11 Feb 2024 11:09:50 +0100 Subject: [PATCH] Added imagick php extension --- cli/ValetPlus/PhpExtension.php | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/cli/ValetPlus/PhpExtension.php b/cli/ValetPlus/PhpExtension.php index 14e0b49f..9060541e 100644 --- a/cli/ValetPlus/PhpExtension.php +++ b/cli/ValetPlus/PhpExtension.php @@ -26,6 +26,8 @@ class PhpExtension public const YAML_EXTENSION = 'yaml'; /** @var string */ public const DATASTRUCTURE_EXTENSION = 'ds'; + /** @var string */ + public const IMAGICK_EXTENSION = 'imagick'; protected const PHP_EXTENSIONS = [ self::XDEBUG_EXTENSION => [ @@ -35,7 +37,10 @@ class PhpExtension ] ], self::APCU_EXTENSION => [ - 'default' => true + 'default' => true, + 'ini_files' => [ + '20-apcu' + ] ], self::MEMCACHE_EXTENSION => [ 'default' => false, @@ -50,11 +55,20 @@ class PhpExtension 'default' => true, 'brew_dependency' => 'libyaml', 'ini_files' => [ - '20-apcu' + '20-yaml' ] ], self::DATASTRUCTURE_EXTENSION => [ - 'default' => true + 'default' => true, + 'ini_files' => [ + '20-ds.ini' + ] + ], + self::IMAGICK_EXTENSION => [ + 'default' => true, + 'ini_files' => [ + '20-imagick.ini' + ] ], ];