diff --git a/src/NewCommand.php b/src/NewCommand.php index 97d03ba9..aa2310fe 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -40,7 +40,7 @@ protected function configure() */ protected function execute(InputInterface $input, OutputInterface $output) { - if (! class_exists('ZipArchive')) { + if (! extension_loaded('zip')) { throw new RuntimeException('The Zip PHP extension is not installed. Please install it and try again.'); }