FIX: Composer feeds emitting incorrect "packageType" for plugins
Created:
3/1/2026 8:18:18 PM by Alana Tripp
Status:
Completed on 3/1/2026 10:31:53 PM
Last pulled:
3/6/2026 9:39:22 PM
Description:
The metadata returned by proget for a composer type feed contains an error. Return "type": "composerPlugin" instead "type": "composer-plugin".
If you configure the feed and connector on packagist.org, the metadata returned by proget contains the wrong package type.
For example compare type from packagist.org:
```
curl -Ls https://repo.packagist.org/p2/symfony/runtime.json | jq
{
"minified": "composer/2.0",
"packages": {
"symfony/runtime": [
{
"name": "symfony/runtime",
"description": "Enables decoupling PHP applications from global state",
"keywords": [
"runtime"
],
===== skip =====
"type": "composer-plugin",
===== skip =====
```
and output from proget:
```
{
"packages": {
"symfony/runtime": [
{
"name": "symfony/runtime",
"description": "Enables decoupling PHP applications from global state",
===== skip =====
"type": "composerPlugin",
===== skip =====
```
This causes the generation of autoload files to not work.
This is a critical error that blocks the use of composer feed.