diff --git a/src/Command/IndexPackagesCommand.php b/src/Command/IndexPackagesCommand.php index 9f1900a5a..a16e96bce 100644 --- a/src/Command/IndexPackagesCommand.php +++ b/src/Command/IndexPackagesCommand.php @@ -234,6 +234,10 @@ private function packageToSearchableArray(Package $package, array $tags): array $record['replacementPackage'] = ''; } + if (in_array($package->getType(), ['php-ext', 'php-ext-zend'], true)) { + $record['extension'] = 1; + } + $record['tags'] = $tags; return $record;