packagist icon indicating copy to clipboard operation
packagist copied to clipboard

Error 500 when composer.json is invalid

Open macintoshplus opened this issue 1 month ago • 1 comments

The Win32Service PHP extension page return an error 500.

https://packagist.org/packages/win32service/win32service

This error occur after publishing new version (v1.1.0beta5) with invalid composer.json file.

I have removed the release and tag.

Howto fix the packagist page?

macintoshplus avatar Nov 19 '25 17:11 macintoshplus

The problem is related to this invalid composer.json file

https://github.com/win32service/win32service/blob/53f5868df5ca2d6f1a30197f865e335d5fc2a1f5/composer.json#L13

The "os-families" value must be an array.

I have fixed on the latest release.

macintoshplus avatar Nov 19 '25 22:11 macintoshplus